#AB9239#AB9239

#AB9239 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.6% C 0.111 H 93.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AB9239
RGBrgb(171, 146, 57)
HSLhsl(47, 50%, 45%)
HSVhsv(47, 67%, 67%)
CMYKcmyk(0%, 14.6%, 66.7%, 32.9%)
CIE-LABlab(61.23, -0.94, 49.04)
CIE-LCHlch(61.23, 49.05, 91.10°)
OKLaboklab(66.55% -0.0065 0.1111)
OKLCHoklch(66.55% 0.111 93.4)
XYZxyz(27.8133, 29.5126, 8.1016)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9239 #3952AB
analogous
#AB5939 #AB9239 #8BAB39
triadic
#AB9239 #39AB92 #9239AB
tetradic
#AB9239 #39AB59 #3952AB #AB398B
square
#AB9239 #39AB59 #3952AB #AB398B
split-complementary
#AB9239 #398BAB #5939AB
monochromatic
#4F441A #7D6B2A #AB9239 #C8B059 #D7C687

Accessibility & contrast

On white

3.04
#AB9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AB9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9239
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9239#FFFFFF#000000##000000
##AB92391.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2E
Deuteranopia (green-blind)
#A7973D
Tritanopia (blue-blind)
#B8877F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9239;
/* rgb */ color: rgb(171, 146, 57);
/* oklch */ color: oklch(66.6% 0.111 93.4);
Tailwind
colors: {
  custom: {
    50: '#c7b174',
    500: '#ab9239',
    950: '#000000',
  },
}
SCSS
$custom: #ab9239;
$custom-light: #c7b174;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9239",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 46.842,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.11133,
    "h": 93.4
  },
  "luminance": 0.29511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9239

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

Preview Lab → · Contrast checker → · Palette generator →

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