#AB992B#AB992B

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

Color values

HEX#AB992B
RGBrgb(171, 153, 43)
HSLhsl(52, 60%, 42%)
HSVhsv(52, 75%, 67%)
CMYKcmyk(0%, 10.5%, 74.9%, 32.9%)
CIE-LABlab(63.02, -5.48, 56.59)
CIE-LCHlch(63.02, 56.85, 95.53°)
OKLaboklab(67.94% -0.0211 0.1246)
OKLCHoklch(67.94% 0.126 99.6)
XYZxyz(28.6232, 31.6162, 6.8799)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB992B #2B3DAB
analogous
#AB592B #AB992B #7DAB2B
triadic
#AB992B #2BAB99 #992BAB
tetradic
#AB992B #2BAB59 #2B3DAB #AB2B7D
square
#AB992B #2BAB59 #2B3DAB #AB2B7D
split-complementary
#AB992B #2B7DAB #592BAB
monochromatic
#494112 #7A6D1F #AB992B #D0BC43 #DCCE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB992B#FFFFFF#000000##000000
##AB992B1.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)
#A89517
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab992b;
/* rgb */ color: rgb(171, 153, 43);
/* oklch */ color: oklch(67.9% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#c8b66d',
    500: '#ab992b',
    950: '#000000',
  },
}
SCSS
$custom: #ab992b;
$custom-light: #c8b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab992b",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 51.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.12635,
    "h": 99.6
  },
  "luminance": 0.31615
}

Semantic roles & 50–950 ramp

primary
#AB992B
secondary
#6E7AC4
accent
#5BE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB992B

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

Preview Lab → · Contrast checker → · Palette generator →

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