#AB9531#AB9531

#AB9531 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.1% C 0.119 H 96.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AB9531
RGBrgb(171, 149, 49)
HSLhsl(49, 55%, 43%)
HSVhsv(49, 71%, 67%)
CMYKcmyk(0%, 12.9%, 71.3%, 32.9%)
CIE-LABlab(61.98, -3.03, 53.24)
CIE-LCHlch(61.98, 53.32, 93.26°)
OKLaboklab(67.12% -0.0135 0.1186)
OKLCHoklch(67.12% 0.119 96.5)
XYZxyz(28.0978, 30.3760, 7.2883)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9531 #3147AB
analogous
#AB5831 #AB9531 #84AB31
triadic
#AB9531 #31AB95 #9531AB
tetradic
#AB9531 #31AB58 #3147AB #AB3184
square
#AB9531 #31AB58 #3147AB #AB3184
split-complementary
#AB9531 #3184AB #5831AB
monochromatic
#4C4216 #7B6C23 #AB9531 #CCB54D #DAC97D

Accessibility & contrast

On white

2.97
#AB9531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AB9531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9531
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9531#FFFFFF#000000##000000
##AB95311.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49222
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9531;
/* rgb */ color: rgb(171, 149, 49);
/* oklch */ color: oklch(67.1% 0.119 96.5);
Tailwind
colors: {
  custom: {
    50: '#c8b36f',
    500: '#ab9531',
    950: '#000000',
  },
}
SCSS
$custom: #ab9531;
$custom-light: #c8b36f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9531",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 49.18,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67123,
    "c": 0.11939,
    "h": 96.5
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#AB9531
secondary
#7583C2
accent
#64DF49
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9531

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

Preview Lab → · Contrast checker → · Palette generator →

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