#AB9D39#AB9D39

#AB9D39 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.9% C 0.120 H 101.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AB9D39
RGBrgb(171, 157, 57)
HSLhsl(53, 50%, 45%)
HSVhsv(53, 67%, 67%)
CMYKcmyk(0%, 8.2%, 66.7%, 32.9%)
CIE-LABlab(64.22, -6.88, 52.18)
CIE-LCHlch(64.22, 52.63, 97.51°)
OKLaboklab(68.92% -0.0235 0.1178)
OKLCHoklch(68.92% 0.12 101.3)
XYZxyz(29.5913, 33.0685, 8.6943)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D39 #3947AB
analogous
#AB6439 #AB9D39 #80AB39
triadic
#AB9D39 #39AB9D #9D39AB
tetradic
#AB9D39 #39AB64 #3947AB #AB3980
square
#AB9D39 #39AB64 #3947AB #AB3980
split-complementary
#AB9D39 #3980AB #6439AB
monochromatic
#4F491A #7D732A #AB9D39 #C8BA59 #D7CD87

Accessibility & contrast

On white

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

On black

7.61
#AB9D39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D39
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D39#FFFFFF#000000##000000
##AB9D391.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982C
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#B89288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d39;
/* rgb */ color: rgb(171, 157, 57);
/* oklch */ color: oklch(68.9% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#c7b975',
    500: '#ab9d39',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d39;
$custom-light: #c7b975;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d39",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 57
  },
  "hsl": {
    "h": 52.632,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.12011,
    "h": 101.3
  },
  "luminance": 0.33067
}

Semantic roles & 50–950 ramp

primary
#AB9D39
secondary
#7F87C1
accent
#5FDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9D39

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

Preview Lab → · Contrast checker → · Palette generator →

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