#AB9331#AB9331

#AB9331 is a light, moderate yellow. Relative luminance 0.297; OKLCH L 66.7% C 0.118 H 95.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AB9331
RGBrgb(171, 147, 49)
HSLhsl(48, 55%, 43%)
HSVhsv(48, 71%, 67%)
CMYKcmyk(0%, 14%, 71.3%, 32.9%)
CIE-LABlab(61.44, -1.94, 52.70)
CIE-LCHlch(61.44, 52.73, 92.11°)
OKLaboklab(66.7% -0.0104 0.1175)
OKLCHoklch(66.7% 0.118 95)
XYZxyz(27.7841, 29.7486, 7.1837)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9331 #3149AB
analogous
#AB5631 #AB9331 #86AB31
triadic
#AB9331 #31AB93 #9331AB
tetradic
#AB9331 #31AB56 #3149AB #AB3186
square
#AB9331 #31AB56 #3149AB #AB3186
split-complementary
#AB9331 #3186AB #5631AB
monochromatic
#4C4116 #7B6A23 #AB9331 #CCB34D #DAC77D

Accessibility & contrast

On white

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

On black

6.95
#AB9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9331
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9331#FFFFFF#000000##000000
##AB93311.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29023
Deuteranopia (green-blind)
#A89836
Tritanopia (blue-blind)
#B9877F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9331;
/* rgb */ color: rgb(171, 147, 49);
/* oklch */ color: oklch(66.7% 0.118 95.0);
Tailwind
colors: {
  custom: {
    50: '#c8b26f',
    500: '#ab9331',
    950: '#000000',
  },
}
SCSS
$custom: #ab9331;
$custom-light: #c8b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9331",
  "rgb": {
    "r": 171,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 48.197,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.11794,
    "h": 95
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#AB9331
secondary
#7585C2
accent
#66DF49
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB9331

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

Preview Lab → · Contrast checker → · Palette generator →

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