#AB9131#AB9131

#AB9131 is a light, moderate yellow. Relative luminance 0.291; OKLCH L 66.3% C 0.117 H 93.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AB9131
RGBrgb(171, 145, 49)
HSLhsl(47, 55%, 43%)
HSVhsv(47, 71%, 67%)
CMYKcmyk(0%, 15.2%, 71.3%, 32.9%)
CIE-LABlab(60.90, -0.85, 52.15)
CIE-LCHlch(60.90, 52.16, 90.94°)
OKLaboklab(66.27% -0.0072 0.1163)
OKLCHoklch(66.27% 0.117 93.6)
XYZxyz(27.4758, 29.1320, 7.0810)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9131 #314BAB
analogous
#AB5431 #AB9131 #88AB31
triadic
#AB9131 #31AB91 #9131AB
tetradic
#AB9131 #31AB54 #314BAB #AB3188
square
#AB9131 #31AB54 #314BAB #AB3188
split-complementary
#AB9131 #3188AB #5431AB
monochromatic
#4C4016 #7B6923 #AB9131 #CCB14D #DAC67D

Accessibility & contrast

On white

3.08
#AB9131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AB9131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9131
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9131#FFFFFF#000000##000000
##AB91311.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#B9857E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9131;
/* rgb */ color: rgb(171, 145, 49);
/* oklch */ color: oklch(66.3% 0.117 93.6);
Tailwind
colors: {
  custom: {
    50: '#c8b06f',
    500: '#ab9131',
    950: '#000000',
  },
}
SCSS
$custom: #ab9131;
$custom-light: #c8b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9131",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 47.213,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.11657,
    "h": 93.6
  },
  "luminance": 0.2913
}

Semantic roles & 50–950 ramp

primary
#AB9131
secondary
#7586C2
accent
#69DF49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB9131

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

Preview Lab → · Contrast checker → · Palette generator →

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