#AB992A#AB992A

#AB992A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.127 H 99.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AB992A
RGBrgb(171, 153, 42)
HSLhsl(52, 61%, 42%)
HSVhsv(52, 75%, 67%)
CMYKcmyk(0%, 10.5%, 75.4%, 32.9%)
CIE-LABlab(63.02, -5.52, 56.95)
CIE-LCHlch(63.02, 57.22, 95.54°)
OKLaboklab(67.93% -0.0213 0.1252)
OKLCHoklch(67.93% 0.127 99.7)
XYZxyz(28.6051, 31.6089, 6.7845)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB992A #2A3CAB
analogous
#AB592A #AB992A #7DAB2A
triadic
#AB992A #2AAB99 #992AAB
tetradic
#AB992A #2AAB59 #2A3CAB #AB2A7D
square
#AB992A #2AAB59 #2A3CAB #AB2A7D
split-complementary
#AB992A #2A7DAB #592AAB
monochromatic
#494112 #7A6D1E #AB992A #D1BD42 #DDCE73

Accessibility & contrast

On white

2.87
#AB992A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AB992A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB992A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB992A#FFFFFF#000000##000000
##AB992A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89515
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab992a;
/* rgb */ color: rgb(171, 153, 42);
/* oklch */ color: oklch(67.9% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#c8b66c',
    500: '#ab992a',
    950: '#000000',
  },
}
SCSS
$custom: #ab992a;
$custom-light: #c8b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab992a",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 51.628,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67933,
    "c": 0.12695,
    "h": 99.7
  },
  "luminance": 0.31608
}

Semantic roles & 50–950 ramp

primary
#AB992A
secondary
#6D79C4
accent
#5AE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB992A

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

Preview Lab → · Contrast checker → · Palette generator →

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