#AB9D3B#AB9D3B

#AB9D3B is a light, moderate yellow. Relative luminance 0.331; OKLCH L 68.9% C 0.119 H 101.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AB9D3B
RGBrgb(171, 157, 59)
HSLhsl(53, 49%, 45%)
HSVhsv(53, 65%, 67%)
CMYKcmyk(0%, 8.2%, 65.5%, 32.9%)
CIE-LABlab(64.23, -6.76, 51.33)
CIE-LCHlch(64.23, 51.78, 97.50°)
OKLaboklab(68.94% -0.0229 0.1163)
OKLCHoklch(68.94% 0.119 101.1)
XYZxyz(29.6422, 33.0889, 8.9622)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D3B #3B49AB
analogous
#AB653B #AB9D3B #81AB3B
triadic
#AB9D3B #3BAB9D #9D3BAB
tetradic
#AB9D3B #3BAB65 #3B49AB #AB3B81
square
#AB9D3B #3BAB65 #3B49AB #AB3B81
split-complementary
#AB9D3B #3B81AB #653BAB
monochromatic
#50491C #7D732B #AB9D3B #C7BA5C #D7CD8A

Accessibility & contrast

On white

2.76
#AB9D3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AB9D3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D3B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D3B#FFFFFF#000000##000000
##AB9D3B1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982F
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#B89289
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d3b;
/* rgb */ color: rgb(171, 157, 59);
/* oklch */ color: oklch(68.9% 0.119 101.1);
Tailwind
colors: {
  custom: {
    50: '#c7b976',
    500: '#ab9d3b',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d3b;
$custom-light: #c7b976;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d3b",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 52.5,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68935,
    "c": 0.11856,
    "h": 101.1
  },
  "luminance": 0.33088
}

Semantic roles & 50–950 ramp

primary
#AB9D3B
secondary
#8189C1
accent
#61D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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