Skip to the color picker

#af8f21 color: Cobra Leather

#af8f21 is rgb(175, 143, 33) in RGB and oklch(66.149% 0.12546 91.324) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

46°
100%

66.1%
0.125
91°
  • Yellow
  • Medium
  • Vivid
  • Warm
  • ≈ Bronze
  • yellow-600
  • Black 31%

Inside sRGB: displays the same on any screen.

White text
3.10:1Hard to read
Lc -63
Black text
6.77:1Readable · AA
Lc 46

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #af8f21

#af8f21 is a bright yellow color. In OKLCH it has 66.1% lightness, 0.125 chroma and a hue of 91°.

Inside sRGB: displays the same on any screen.

White text on it reaches 3.1:1 contrast and black text 6.77:1, so black text reads better.

The closest named color is Cobra Leather (#b08e08). In Tailwind CSS the closest color is yellow-600.

More medium yellow colors

Lighter: #af8f21 mixed with white

Darker: #af8f21 mixed with black

Calmer: #af8f21 with less saturation

Similar named colors

Colors that go with #af8f21

Complementary
Analogous
Triadic
Split

Questions about #af8f21

What color is #af8f21?

#af8f21 is bright yellow. The closest named color is Cobra Leather. In RGB it is rgb(175, 143, 33), in HSL hsl(46.48, 68.27%, 40.78%) and in OKLCH oklch(66.149% 0.12546 91.324).

What colors go well with #af8f21?

The complementary color of #af8f21 is #778ddf. For a calmer combination use the analogous colors #c97f37 and #879e3e. The triadic partners are #00a6be and #be74b5.

Is white or black text more readable on #af8f21?

Black text reads better on #af8f21: white gives a contrast ratio of 3.1:1 and black gives 6.77:1. WCAG AA asks for at least 4.5:1 for body text.

Is #af8f21 a warm or cool color?

#af8f21 is a warm color. In OKLCH its hue is 91 degrees, its lightness 66.1% and its chroma 0.125.