#AB9D32#AB9D32

#AB9D32 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.9% C 0.125 H 101.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AB9D32
RGBrgb(171, 157, 50)
HSLhsl(53, 55%, 43%)
HSVhsv(53, 71%, 67%)
CMYKcmyk(0%, 8.2%, 70.8%, 32.9%)
CIE-LABlab(64.16, -7.28, 55.02)
CIE-LCHlch(64.16, 55.50, 97.53°)
OKLaboklab(68.86% -0.0254 0.1226)
OKLCHoklch(68.86% 0.125 101.7)
XYZxyz(29.4286, 33.0034, 7.8372)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D32 #3240AB
analogous
#AB6032 #AB9D32 #7CAB32
triadic
#AB9D32 #32AB9D #9D32AB
tetradic
#AB9D32 #32AB60 #3240AB #AB327C
square
#AB9D32 #32AB60 #3240AB #AB327C
split-complementary
#AB9D32 #327CAB #6032AB
monochromatic
#4C4616 #7C7224 #AB9D32 #CBBD4F #D9CF7E

Accessibility & contrast

On white

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

On black

7.60
#AB9D32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D32
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D32#FFFFFF#000000##000000
##AB9D321.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9822
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#B89288
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d32;
/* rgb */ color: rgb(171, 157, 50);
/* oklch */ color: oklch(68.9% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#c7b971',
    500: '#ab9d32',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d32;
$custom-light: #c7b971;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d32",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 50
  },
  "hsl": {
    "h": 53.058,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68858,
    "c": 0.12519,
    "h": 101.7
  },
  "luminance": 0.33002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9D32

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

Preview Lab → · Contrast checker → · Palette generator →

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