#AB912A#AB912A

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

Color values

HEX#AB912A
RGBrgb(171, 145, 42)
HSLhsl(48, 61%, 42%)
HSVhsv(48, 75%, 67%)
CMYKcmyk(0%, 15.2%, 75.4%, 32.9%)
CIE-LABlab(60.85, -1.19, 54.89)
CIE-LCHlch(60.85, 54.90, 91.25°)
OKLaboklab(66.22% -0.009 0.1208)
OKLCHoklch(66.22% 0.121 94.3)
XYZxyz(27.3394, 29.0774, 6.3625)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB912A #2A44AB
analogous
#AB512A #AB912A #85AB2A
triadic
#AB912A #2AAB91 #912AAB
tetradic
#AB912A #2AAB51 #2A44AB #AB2A85
square
#AB912A #2AAB51 #2A44AB #AB2A85
split-complementary
#AB912A #2A85AB #512AAB
monochromatic
#493E12 #7A671E #AB912A #D1B442 #DDC773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB912A#FFFFFF#000000##000000
##AB912A1.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)
#A18E18
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab912a;
/* rgb */ color: rgb(171, 145, 42);
/* oklch */ color: oklch(66.2% 0.121 94.3);
Tailwind
colors: {
  custom: {
    50: '#c8b06b',
    500: '#ab912a',
    950: '#000000',
  },
}
SCSS
$custom: #ab912a;
$custom-light: #c8b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab912a",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 47.907,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.12111,
    "h": 94.3
  },
  "luminance": 0.29076
}

Semantic roles & 50–950 ramp

primary
#AB912A
secondary
#6D7EC4
accent
#64E444
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB912A

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

Preview Lab → · Contrast checker → · Palette generator →

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