#AB9142#AB9142

#AB9142 is a light, moderate yellow. Relative luminance 0.293; OKLCH L 66.4% C 0.103 H 91.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB9142
RGBrgb(171, 145, 66)
HSLhsl(45, 44%, 46%)
HSVhsv(45, 61%, 67%)
CMYKcmyk(0%, 15.2%, 61.4%, 32.9%)
CIE-LABlab(61.05, 0.21, 44.64)
CIE-LCHlch(61.05, 44.64, 89.73°)
OKLaboklab(66.44% -0.0021 0.1031)
OKLCHoklch(66.44% 0.103 91.2)
XYZxyz(27.9046, 29.3036, 9.3395)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9142 #425CAB
analogous
#AB5D42 #AB9142 #91AB42
triadic
#AB9142 #42AB91 #9142AB
tetradic
#AB9142 #42AB5D #425CAB #AB4291
square
#AB9142 #42AB5D #425CAB #AB4291
split-complementary
#AB9142 #4291AB #5D42AB
monochromatic
#534620 #7F6C31 #AB9142 #C4AD66 #D5C592

Accessibility & contrast

On white

3.06
#AB9142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AB9142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9142
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9142#FFFFFF#000000##000000
##AB91421.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3A
Deuteranopia (green-blind)
#A69645
Tritanopia (blue-blind)
#B88680
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9142;
/* rgb */ color: rgb(171, 145, 66);
/* oklch */ color: oklch(66.4% 0.103 91.2);
Tailwind
colors: {
  custom: {
    50: '#c7b179',
    500: '#ab9142',
    950: '#000000',
  },
}
SCSS
$custom: #ab9142;
$custom-light: #c7b179;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9142",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 45.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66436,
    "c": 0.10313,
    "h": 91.2
  },
  "luminance": 0.29302
}

Semantic roles & 50–950 ramp

primary
#AB9142
secondary
#8896C0
accent
#74D454
background
#FCFAF7
surface
#F8F4EE
border
#D1CEC9
text
#131009
muted
#827F7B

Preview Lab

Preview with #AB9142

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

Preview Lab → · Contrast checker → · Palette generator →

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