#AB902F#AB902F

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

Color values

HEX#AB902F
RGBrgb(171, 144, 47)
HSLhsl(47, 57%, 43%)
HSVhsv(47, 73%, 67%)
CMYKcmyk(0%, 15.8%, 72.5%, 32.9%)
CIE-LABlab(60.61, -0.41, 52.69)
CIE-LCHlch(60.61, 52.70, 90.45°)
OKLaboklab(66.04% -0.0062 0.1171)
OKLCHoklch(66.04% 0.117 93)
XYZxyz(27.2824, 28.8112, 6.8129)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB902F #2F4AAB
analogous
#AB522F #AB902F #88AB2F
triadic
#AB902F #2FAB90 #902FAB
tetradic
#AB902F #2FAB52 #2F4AAB #AB2F88
square
#AB902F #2FAB52 #2F4AAB #AB2F88
split-complementary
#AB902F #2F88AB #522FAB
monochromatic
#4B3F15 #7B6822 #AB902F #CDB14A #DAC57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB902F#FFFFFF#000000##000000
##AB902F1.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)
#A08E21
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#B9847D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab902f;
/* rgb */ color: rgb(171, 144, 47);
/* oklch */ color: oklch(66.0% 0.117 93.0);
Tailwind
colors: {
  custom: {
    50: '#c8b06e',
    500: '#ab902f',
    950: '#000000',
  },
}
SCSS
$custom: #ab902f;
$custom-light: #c8b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab902f",
  "rgb": {
    "r": 171,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 46.935,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.11726,
    "h": 93
  },
  "luminance": 0.2881
}

Semantic roles & 50–950 ramp

primary
#AB902F
secondary
#7384C3
accent
#69E048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB902F

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

Preview Lab → · Contrast checker → · Palette generator →

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