#AB902A#AB902A

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

Color values

HEX#AB902A
RGBrgb(171, 144, 42)
HSLhsl(47, 61%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 15.8%, 75.4%, 32.9%)
CIE-LABlab(60.58, -0.65, 54.63)
CIE-LCHlch(60.58, 54.64, 90.68°)
OKLaboklab(66% -0.0074 0.1202)
OKLCHoklch(66% 0.12 93.5)
XYZxyz(27.1872, 28.7732, 6.3118)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB902A #2A45AB
analogous
#AB502A #AB902A #86AB2A
triadic
#AB902A #2AAB90 #902AAB
tetradic
#AB902A #2AAB50 #2A45AB #AB2A86
square
#AB902A #2AAB50 #2A45AB #AB2A86
split-complementary
#AB902A #2A86AB #502AAB
monochromatic
#493D12 #7A671E #AB902A #D1B342 #DDC673

Accessibility & contrast

On white

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

On black

6.75
#AB902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB902A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB902A#FFFFFF#000000##000000
##AB902A1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab902a;
/* rgb */ color: rgb(171, 144, 42);
/* oklch */ color: oklch(66.0% 0.120 93.5);
Tailwind
colors: {
  custom: {
    50: '#c8b06b',
    500: '#ab902a',
    950: '#000000',
  },
}
SCSS
$custom: #ab902a;
$custom-light: #c8b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab902a",
  "rgb": {
    "r": 171,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 47.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66003,
    "c": 0.12046,
    "h": 93.5
  },
  "luminance": 0.28772
}

Semantic roles & 50–950 ramp

primary
#AB902A
secondary
#6D7FC4
accent
#66E444
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB902A

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

Preview Lab → · Contrast checker → · Palette generator →

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