#AB9E33#AB9E33

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

Color values

HEX#AB9E33
RGBrgb(171, 158, 51)
HSLhsl(54, 54%, 44%)
HSVhsv(54, 70%, 67%)
CMYKcmyk(0%, 7.6%, 70.2%, 32.9%)
CIE-LABlab(64.44, -7.75, 54.90)
CIE-LCHlch(64.44, 55.45, 98.04°)
OKLaboklab(69.08% -0.0267 0.1225)
OKLCHoklch(69.08% 0.125 102.3)
XYZxyz(29.6203, 33.3519, 8.0087)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E33 #3340AB
analogous
#AB6233 #AB9E33 #7CAB33
triadic
#AB9E33 #33AB9E #9E33AB
tetradic
#AB9E33 #33AB62 #3340AB #AB337C
square
#AB9E33 #33AB62 #3340AB #AB337C
split-complementary
#AB9E33 #337CAB #6233AB
monochromatic
#4D4717 #7C7225 #AB9E33 #CBBE50 #D9CF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9E33#FFFFFF#000000##000000
##AB9E331.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)
#AC9923
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#B89389
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e33;
/* rgb */ color: rgb(171, 158, 51);
/* oklch */ color: oklch(69.1% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#c7ba71',
    500: '#ab9e33',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e33;
$custom-light: #c7ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e33",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 51
  },
  "hsl": {
    "h": 53.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69084,
    "c": 0.12538,
    "h": 102.3
  },
  "luminance": 0.33351
}

Semantic roles & 50–950 ramp

primary
#AB9E33
secondary
#7880C2
accent
#5ADD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9E33

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

Preview Lab → · Contrast checker → · Palette generator →

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