#AB912F#AB912F

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

Color values

HEX#AB912F
RGBrgb(171, 145, 47)
HSLhsl(47, 57%, 43%)
HSVhsv(47, 73%, 67%)
CMYKcmyk(0%, 15.2%, 72.5%, 32.9%)
CIE-LABlab(60.88, -0.96, 52.96)
CIE-LCHlch(60.88, 52.97, 91.03°)
OKLaboklab(66.25% -0.0078 0.1177)
OKLCHoklch(66.25% 0.118 93.8)
XYZxyz(27.4345, 29.1155, 6.8636)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB912F #2F49AB
analogous
#AB532F #AB912F #87AB2F
triadic
#AB912F #2FAB91 #912FAB
tetradic
#AB912F #2FAB53 #2F49AB #AB2F87
square
#AB912F #2FAB53 #2F49AB #AB2F87
split-complementary
#AB912F #2F87AB #532FAB
monochromatic
#4B4015 #7B6822 #AB912F #CDB24A #DAC67A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB912F#FFFFFF#000000##000000
##AB912F1.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)
#A18E20
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab912f;
/* rgb */ color: rgb(171, 145, 47);
/* oklch */ color: oklch(66.3% 0.118 93.8);
Tailwind
colors: {
  custom: {
    50: '#c8b06e',
    500: '#ab912f',
    950: '#000000',
  },
}
SCSS
$custom: #ab912f;
$custom-light: #c8b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab912f",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 47.419,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66253,
    "c": 0.11793,
    "h": 93.8
  },
  "luminance": 0.29114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB912F

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

Preview Lab → · Contrast checker → · Palette generator →

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