#AB9D2B#AB9D2B

#AB9D2B is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.8% C 0.130 H 102.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AB9D2B
RGBrgb(171, 157, 43)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.2%, 74.9%, 32.9%)
CIE-LABlab(64.12, -7.62, 57.63)
CIE-LCHlch(64.12, 58.13, 97.53°)
OKLaboklab(68.81% -0.0271 0.1268)
OKLCHoklch(68.81% 0.13 102.1)
XYZxyz(29.2889, 32.9476, 7.1018)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D2B #2B39AB
analogous
#AB5D2B #AB9D2B #79AB2B
triadic
#AB9D2B #2BAB9D #9D2BAB
tetradic
#AB9D2B #2BAB5D #2B39AB #AB2B79
square
#AB9D2B #2BAB5D #2B39AB #AB2B79
split-complementary
#AB9D2B #2B79AB #5D2BAB
monochromatic
#494312 #7A701F #AB9D2B #D0C043 #DCD174

Accessibility & contrast

On white

2.77
#AB9D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AB9D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D2B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D2B#FFFFFF#000000##000000
##AB9D2B1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d2b;
/* rgb */ color: rgb(171, 157, 43);
/* oklch */ color: oklch(68.8% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#c8b96d',
    500: '#ab9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d2b;
$custom-light: #c8b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d2b",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 53.438,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.12966,
    "h": 102.1
  },
  "luminance": 0.32946
}

Semantic roles & 50–950 ramp

primary
#AB9D2B
secondary
#6E78C4
accent
#56E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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