#AF992A#AF992A

#AF992A is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.127 H 97.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF992A
RGBrgb(175, 153, 42)
HSLhsl(50, 61%, 43%)
HSVhsv(50, 76%, 69%)
CMYKcmyk(0%, 12.6%, 76%, 31.4%)
CIE-LABlab(63.40, -3.73, 57.44)
CIE-LCHlch(63.40, 57.56, 93.72°)
OKLaboklab(68.32% -0.0165 0.126)
OKLCHoklch(68.32% 0.127 97.4)
XYZxyz(29.4899, 32.0651, 6.8259)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF992A #2A40AF
analogous
#AF562A #AF992A #83AF2A
triadic
#AF992A #2AAF99 #992AAF
tetradic
#AF992A #2AAF56 #2A40AF #AF2A83
square
#AF992A #2AAF56 #2A40AF #AF2A83
split-complementary
#AF992A #2A83AF #562AAF
monochromatic
#4C4312 #7E6E1E #AF992A #D2BB44 #DECD75

Accessibility & contrast

On white

2.83
#AF992A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF992A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF992A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF992A#FFFFFF#000000##000000
##AF992A1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99515
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af992a;
/* rgb */ color: rgb(175, 153, 42);
/* oklch */ color: oklch(68.3% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#cbb66c',
    500: '#af992a',
    950: '#000000',
  },
}
SCSS
$custom: #af992a;
$custom-light: #cbb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#af992a",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 50.075,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68322,
    "c": 0.12709,
    "h": 97.4
  },
  "luminance": 0.32064
}

Semantic roles & 50–950 ramp

primary
#AF992A
secondary
#6F7EC6
accent
#5EE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF992A

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

Preview Lab → · Contrast checker → · Palette generator →

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