#AF922D#AF922D

#AF922D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.9% C 0.121 H 92.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AF922D
RGBrgb(175, 146, 45)
HSLhsl(47, 59%, 43%)
HSVhsv(47, 74%, 69%)
CMYKcmyk(0%, 16.6%, 74.3%, 31.4%)
CIE-LABlab(61.54, 0.19, 54.53)
CIE-LCHlch(61.54, 54.53, 89.80°)
OKLaboklab(66.86% -0.0049 0.1204)
OKLCHoklch(66.86% 0.121 92.3)
XYZxyz(28.4333, 29.8629, 6.7486)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF922D #2D4AAF
analogous
#AF512D #AF922D #8BAF2D
triadic
#AF922D #2DAF92 #922DAF
tetradic
#AF922D #2DAF51 #2D4AAF #AF2D8B
square
#AF922D #2DAF51 #2D4AAF #AF2D8B
split-complementary
#AF922D #2D8BAF #512DAF
monochromatic
#4E4114 #7E6920 #AF922D #D0B249 #DDC77A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF922D#FFFFFF#000000##000000
##AF922D1.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)
#A2901D
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#BD867E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af922d;
/* rgb */ color: rgb(175, 146, 45);
/* oklch */ color: oklch(66.9% 0.121 92.3);
Tailwind
colors: {
  custom: {
    50: '#cbb16d',
    500: '#af922d',
    950: '#000000',
  },
}
SCSS
$custom: #af922d;
$custom-light: #cbb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#af922d",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 45
  },
  "hsl": {
    "h": 46.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66856,
    "c": 0.12054,
    "h": 92.3
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#AF922D
secondary
#7385C5
accent
#68E246
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF922D

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

Preview Lab → · Contrast checker → · Palette generator →

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