#AB902B#AB902B

#AB902B is a light, moderate yellow. Relative luminance 0.288; OKLCH L 66.0% C 0.120 H 93.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB902B
RGBrgb(171, 144, 43)
HSLhsl(47, 60%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 15.8%, 74.9%, 32.9%)
CIE-LABlab(60.59, -0.60, 54.26)
CIE-LCHlch(60.59, 54.26, 90.64°)
OKLaboklab(66.01% -0.0072 0.1196)
OKLCHoklch(66.01% 0.12 93.4)
XYZxyz(27.2054, 28.7804, 6.4073)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB902B #2B46AB
analogous
#AB502B #AB902B #86AB2B
triadic
#AB902B #2BAB90 #902BAB
tetradic
#AB902B #2BAB50 #2B46AB #AB2B86
square
#AB902B #2BAB50 #2B46AB #AB2B86
split-complementary
#AB902B #2B86AB #502BAB
monochromatic
#493E12 #7A671F #AB902B #D0B243 #DCC674

Accessibility & contrast

On white

3.11
#AB902B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#AB902B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB902B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB902B#FFFFFF#000000##000000
##AB902B1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1A
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#B9847C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab902b;
/* rgb */ color: rgb(171, 144, 43);
/* oklch */ color: oklch(66.0% 0.120 93.4);
Tailwind
colors: {
  custom: {
    50: '#c8b06c',
    500: '#ab902b',
    950: '#000000',
  },
}
SCSS
$custom: #ab902b;
$custom-light: #c8b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab902b",
  "rgb": {
    "r": 171,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 47.344,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.11985,
    "h": 93.4
  },
  "luminance": 0.28779
}

Semantic roles & 50–950 ramp

primary
#AB902B
secondary
#6E80C4
accent
#66E345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB902B

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

Preview Lab → · Contrast checker → · Palette generator →

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