#AB912D#AB912D

#AB912D is a light, moderate yellow. Relative luminance 0.291; OKLCH L 66.2% C 0.119 H 94.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AB912D
RGBrgb(171, 145, 45)
HSLhsl(48, 58%, 42%)
HSVhsv(48, 74%, 67%)
CMYKcmyk(0%, 15.2%, 73.7%, 32.9%)
CIE-LABlab(60.87, -1.05, 53.75)
CIE-LCHlch(60.87, 53.76, 91.12°)
OKLaboklab(66.24% -0.0083 0.119)
OKLCHoklch(66.24% 0.119 94)
XYZxyz(27.3951, 29.0997, 6.6560)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB912D #2D47AB
analogous
#AB522D #AB912D #86AB2D
triadic
#AB912D #2DAB91 #912DAB
tetradic
#AB912D #2DAB52 #2D47AB #AB2D86
square
#AB912D #2DAB52 #2D47AB #AB2D86
split-complementary
#AB912D #2D86AB #522DAB
monochromatic
#4A3F14 #7B6820 #AB912D #CEB247 #DBC777

Accessibility & contrast

On white

3.08
#AB912D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AB912D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB912D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB912D#FFFFFF#000000##000000
##AB912D1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1D
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab912d;
/* rgb */ color: rgb(171, 145, 45);
/* oklch */ color: oklch(66.2% 0.119 94.0);
Tailwind
colors: {
  custom: {
    50: '#c8b06d',
    500: '#ab912d',
    950: '#000000',
  },
}
SCSS
$custom: #ab912d;
$custom-light: #c8b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab912d",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 47.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66237,
    "c": 0.11924,
    "h": 94
  },
  "luminance": 0.29098
}

Semantic roles & 50–950 ramp

primary
#AB912D
secondary
#7182C3
accent
#66E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB912D

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

Preview Lab → · Contrast checker → · Palette generator →

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