#AB9E32#AB9E32

#AB9E32 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.1% C 0.126 H 102.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#AB9E32
RGBrgb(171, 158, 50)
HSLhsl(54, 55%, 43%)
HSVhsv(54, 71%, 67%)
CMYKcmyk(0%, 7.6%, 70.8%, 32.9%)
CIE-LABlab(64.44, -7.81, 55.29)
CIE-LCHlch(64.44, 55.84, 98.04°)
OKLaboklab(69.08% -0.0269 0.1232)
OKLCHoklch(69.08% 0.126 102.3)
XYZxyz(29.5984, 33.3432, 7.8938)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E32 #323FAB
analogous
#AB6132 #AB9E32 #7BAB32
triadic
#AB9E32 #32AB9E #9E32AB
tetradic
#AB9E32 #32AB61 #323FAB #AB327B
square
#AB9E32 #32AB61 #323FAB #AB327B
split-complementary
#AB9E32 #327BAB #6132AB
monochromatic
#4C4616 #7C7224 #AB9E32 #CBBE4F #D9D07E

Accessibility & contrast

On white

2.74
#AB9E32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#AB9E32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E32
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E32#FFFFFF#000000##000000
##AB9E321.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9921
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e32;
/* rgb */ color: rgb(171, 158, 50);
/* oklch */ color: oklch(69.1% 0.126 102.3);
Tailwind
colors: {
  custom: {
    50: '#c7ba71',
    500: '#ab9e32',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e32;
$custom-light: #c7ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e32",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 50
  },
  "hsl": {
    "h": 53.554,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.12606,
    "h": 102.3
  },
  "luminance": 0.33342
}

Semantic roles & 50–950 ramp

primary
#AB9E32
secondary
#777FC2
accent
#5ADE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9E32

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

Preview Lab → · Contrast checker → · Palette generator →

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