#AF922A#AF922A

#AF922A is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.122 H 92.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AF922A
RGBrgb(175, 146, 42)
HSLhsl(47, 61%, 43%)
HSVhsv(47, 76%, 69%)
CMYKcmyk(0%, 16.6%, 76%, 31.4%)
CIE-LABlab(61.52, 0.06, 55.66)
CIE-LCHlch(61.52, 55.66, 89.94°)
OKLaboklab(66.83% -0.0057 0.1222)
OKLCHoklch(66.83% 0.122 92.7)
XYZxyz(28.3776, 29.8406, 6.4552)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF922A #2A47AF
analogous
#AF4F2A #AF922A #8AAF2A
triadic
#AF922A #2AAF92 #922AAF
tetradic
#AF922A #2AAF4F #2A47AF #AF2A8A
square
#AF922A #2AAF4F #2A47AF #AF2A8A
split-complementary
#AF922A #2A8AAF #4F2AAF
monochromatic
#4C4012 #7E691E #AF922A #D2B344 #DEC775

Accessibility & contrast

On white

3.01
#AF922A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#AF922A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF922A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF922A#FFFFFF#000000##000000
##AF922A1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29018
Deuteranopia (green-blind)
#AA9830
Tritanopia (blue-blind)
#BE867E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af922a;
/* rgb */ color: rgb(175, 146, 42);
/* oklch */ color: oklch(66.8% 0.122 92.7);
Tailwind
colors: {
  custom: {
    50: '#cbb16b',
    500: '#af922a',
    950: '#000000',
  },
}
SCSS
$custom: #af922a;
$custom-light: #cbb16b;
$custom-dark: #000000;
JSON
{
  "hex": "#af922a",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 42
  },
  "hsl": {
    "h": 46.917,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66835,
    "c": 0.12237,
    "h": 92.7
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#AF922A
secondary
#6F82C6
accent
#67E443
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF922A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF922A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva