#AB902C#AB902C

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

Color values

HEX#AB902C
RGBrgb(171, 144, 44)
HSLhsl(47, 59%, 42%)
HSVhsv(47, 74%, 67%)
CMYKcmyk(0%, 15.8%, 74.3%, 32.9%)
CIE-LABlab(60.59, -0.56, 53.87)
CIE-LCHlch(60.59, 53.88, 90.59°)
OKLaboklab(66.02% -0.007 0.119)
OKLCHoklch(66.02% 0.119 93.4)
XYZxyz(27.2239, 28.7879, 6.5051)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB902C #2C47AB
analogous
#AB502C #AB902C #87AB2C
triadic
#AB902C #2CAB90 #902CAB
tetradic
#AB902C #2CAB50 #2C47AB #AB2C87
square
#AB902C #2CAB50 #2C47AB #AB2C87
split-complementary
#AB902C #2C87AB #502CAB
monochromatic
#4A3E13 #7A671F #AB902C #CFB245 #DCC676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB902C#FFFFFF#000000##000000
##AB902C1.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)
#A08D1C
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#B9847C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab902c;
/* rgb */ color: rgb(171, 144, 44);
/* oklch */ color: oklch(66.0% 0.119 93.4);
Tailwind
colors: {
  custom: {
    50: '#c8b06c',
    500: '#ab902c',
    950: '#000000',
  },
}
SCSS
$custom: #ab902c;
$custom-light: #c8b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab902c",
  "rgb": {
    "r": 171,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 47.244,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66018,
    "c": 0.11921,
    "h": 93.4
  },
  "luminance": 0.28786
}

Semantic roles & 50–950 ramp

primary
#AB902C
secondary
#6F81C3
accent
#67E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB902C

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

Preview Lab → · Contrast checker → · Palette generator →

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