#AB992F#AB992F

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

Color values

HEX#AB992F
RGBrgb(171, 153, 47)
HSLhsl(51, 57%, 43%)
HSVhsv(51, 73%, 67%)
CMYKcmyk(0%, 10.5%, 72.5%, 32.9%)
CIE-LABlab(63.05, -5.29, 55.10)
CIE-LCHlch(63.05, 55.35, 95.48°)
OKLaboklab(67.97% -0.0201 0.1222)
OKLCHoklch(67.97% 0.124 99.3)
XYZxyz(28.7003, 31.6470, 7.2855)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB992F #2F41AB
analogous
#AB5B2F #AB992F #7FAB2F
triadic
#AB992F #2FAB99 #992FAB
tetradic
#AB992F #2FAB5B #2F41AB #AB2F7F
square
#AB992F #2FAB5B #2F41AB #AB2F7F
split-complementary
#AB992F #2F7FAB #5B2FAB
monochromatic
#4B4315 #7B6E22 #AB992F #CDBA4A #DACC7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB992F#FFFFFF#000000##000000
##AB992F1.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)
#A8951E
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab992f;
/* rgb */ color: rgb(171, 153, 47);
/* oklch */ color: oklch(68.0% 0.124 99.3);
Tailwind
colors: {
  custom: {
    50: '#c8b66f',
    500: '#ab992f',
    950: '#000000',
  },
}
SCSS
$custom: #ab992f;
$custom-light: #c8b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab992f",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 51.29,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67968,
    "c": 0.12383,
    "h": 99.3
  },
  "luminance": 0.31646
}

Semantic roles & 50–950 ramp

primary
#AB992F
secondary
#737FC3
accent
#5EE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB992F

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

Preview Lab → · Contrast checker → · Palette generator →

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