#AB9339#AB9339

#AB9339 is a light, moderate yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.112 H 94.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AB9339
RGBrgb(171, 147, 57)
HSLhsl(47, 50%, 45%)
HSVhsv(47, 67%, 67%)
CMYKcmyk(0%, 14%, 66.7%, 32.9%)
CIE-LABlab(61.50, -1.49, 49.32)
CIE-LCHlch(61.50, 49.35, 91.73°)
OKLaboklab(66.77% -0.0081 0.1117)
OKLCHoklch(66.77% 0.112 94.1)
XYZxyz(27.9682, 29.8222, 8.1532)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9339 #3951AB
analogous
#AB5A39 #AB9339 #8AAB39
triadic
#AB9339 #39AB93 #9339AB
tetradic
#AB9339 #39AB5A #3951AB #AB398A
square
#AB9339 #39AB5A #3951AB #AB398A
split-complementary
#AB9339 #398AAB #5A39AB
monochromatic
#4F441A #7D6C2A #AB9339 #C8B159 #D7C687

Accessibility & contrast

On white

3.02
#AB9339 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AB9339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9339
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9339#FFFFFF#000000##000000
##AB93391.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902E
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#B88880
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9339;
/* rgb */ color: rgb(171, 147, 57);
/* oklch */ color: oklch(66.8% 0.112 94.1);
Tailwind
colors: {
  custom: {
    50: '#c7b274',
    500: '#ab9339',
    950: '#000000',
  },
}
SCSS
$custom: #ab9339;
$custom-light: #c7b274;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9339",
  "rgb": {
    "r": 171,
    "g": 147,
    "b": 57
  },
  "hsl": {
    "h": 47.368,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.11203,
    "h": 94.1
  },
  "luminance": 0.29821
}

Semantic roles & 50–950 ramp

primary
#AB9339
secondary
#7F8DC1
accent
#6CDA4E
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #AB9339

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

Preview Lab → · Contrast checker → · Palette generator →

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