#AB9231#AB9231

#AB9231 is a light, moderate yellow. Relative luminance 0.294; OKLCH L 66.5% C 0.117 H 94.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AB9231
RGBrgb(171, 146, 49)
HSLhsl(48, 55%, 43%)
HSVhsv(48, 71%, 67%)
CMYKcmyk(0%, 14.6%, 71.3%, 32.9%)
CIE-LABlab(61.17, -1.40, 52.43)
CIE-LCHlch(61.17, 52.44, 91.53°)
OKLaboklab(66.48% -0.0088 0.1169)
OKLCHoklch(66.48% 0.117 94.3)
XYZxyz(27.6293, 29.4390, 7.1321)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9231 #314AAB
analogous
#AB5531 #AB9231 #87AB31
triadic
#AB9231 #31AB92 #9231AB
tetradic
#AB9231 #31AB55 #314AAB #AB3187
square
#AB9231 #31AB55 #314AAB #AB3187
split-complementary
#AB9231 #3187AB #5531AB
monochromatic
#4C4116 #7B6923 #AB9231 #CCB24D #DAC77D

Accessibility & contrast

On white

3.05
#AB9231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AB9231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9231
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9231#FFFFFF#000000##000000
##AB92311.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F23
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#B9867E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9231;
/* rgb */ color: rgb(171, 146, 49);
/* oklch */ color: oklch(66.5% 0.117 94.3);
Tailwind
colors: {
  custom: {
    50: '#c8b16f',
    500: '#ab9231',
    950: '#000000',
  },
}
SCSS
$custom: #ab9231;
$custom-light: #c8b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9231",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 47.705,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.11724,
    "h": 94.3
  },
  "luminance": 0.29437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9231

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

Preview Lab → · Contrast checker → · Palette generator →

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