#AB992D#AB992D

#AB992D is a light, vivid yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.125 H 99.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AB992D
RGBrgb(171, 153, 45)
HSLhsl(51, 58%, 42%)
HSVhsv(51, 74%, 67%)
CMYKcmyk(0%, 10.5%, 73.7%, 32.9%)
CIE-LABlab(63.04, -5.39, 55.85)
CIE-LCHlch(63.04, 56.11, 95.51°)
OKLaboklab(67.95% -0.0206 0.1234)
OKLCHoklch(67.95% 0.125 99.5)
XYZxyz(28.6608, 31.6312, 7.0779)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB992D #2D3FAB
analogous
#AB5A2D #AB992D #7EAB2D
triadic
#AB992D #2DAB99 #992DAB
tetradic
#AB992D #2DAB5A #2D3FAB #AB2D7E
square
#AB992D #2DAB5A #2D3FAB #AB2D7E
split-complementary
#AB992D #2D7EAB #5A2DAB
monochromatic
#4A4214 #7B6E20 #AB992D #CEBB47 #DBCD77

Accessibility & contrast

On white

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

On black

7.33
#AB992D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB992D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB992D#FFFFFF#000000##000000
##AB992D1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951B
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab992d;
/* rgb */ color: rgb(171, 153, 45);
/* oklch */ color: oklch(68.0% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#c8b66e',
    500: '#ab992d',
    950: '#000000',
  },
}
SCSS
$custom: #ab992d;
$custom-light: #c8b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab992d",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 51.429,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67953,
    "c": 0.12512,
    "h": 99.5
  },
  "luminance": 0.3163
}

Semantic roles & 50–950 ramp

primary
#AB992D
secondary
#717CC3
accent
#5CE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB992D

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

Preview Lab → · Contrast checker → · Palette generator →

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