#AB992C#AB992C

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

Color values

HEX#AB992C
RGBrgb(171, 153, 44)
HSLhsl(51, 59%, 42%)
HSVhsv(51, 74%, 67%)
CMYKcmyk(0%, 10.5%, 74.3%, 32.9%)
CIE-LABlab(63.03, -5.43, 56.22)
CIE-LCHlch(63.03, 56.49, 95.52°)
OKLaboklab(67.95% -0.0208 0.124)
OKLCHoklch(67.95% 0.126 99.5)
XYZxyz(28.6418, 31.6236, 6.9777)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB992C #2C3EAB
analogous
#AB5A2C #AB992C #7EAB2C
triadic
#AB992C #2CAB99 #992CAB
tetradic
#AB992C #2CAB5A #2C3EAB #AB2C7E
square
#AB992C #2CAB5A #2C3EAB #AB2C7E
split-complementary
#AB992C #2C7EAB #5A2CAB
monochromatic
#4A4213 #7A6D1F #AB992C #CFBC45 #DCCD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB992C#FFFFFF#000000##000000
##AB992C1.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)
#A89519
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab992c;
/* rgb */ color: rgb(171, 153, 44);
/* oklch */ color: oklch(67.9% 0.126 99.5);
Tailwind
colors: {
  custom: {
    50: '#c8b66d',
    500: '#ab992c',
    950: '#000000',
  },
}
SCSS
$custom: #ab992c;
$custom-light: #c8b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab992c",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 51.496,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67946,
    "c": 0.12574,
    "h": 99.5
  },
  "luminance": 0.31622
}

Semantic roles & 50–950 ramp

primary
#AB992C
secondary
#6F7BC3
accent
#5CE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB992C

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

Preview Lab → · Contrast checker → · Palette generator →

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