#AB9E42#AB9E42

#AB9E42 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.114 H 101.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AB9E42
RGBrgb(171, 158, 66)
HSLhsl(53, 44%, 46%)
HSVhsv(53, 61%, 67%)
CMYKcmyk(0%, 7.6%, 61.4%, 32.9%)
CIE-LABlab(64.57, -6.82, 48.56)
CIE-LCHlch(64.57, 49.03, 98.00°)
OKLaboklab(69.22% -0.0223 0.1115)
OKLCHoklch(69.22% 0.114 101.3)
XYZxyz(30.0060, 33.5062, 10.0400)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E42 #424FAB
analogous
#AB6A42 #AB9E42 #84AB42
triadic
#AB9E42 #42AB9E #9E42AB
tetradic
#AB9E42 #42AB6A #424FAB #AB4284
square
#AB9E42 #42AB6A #424FAB #AB4284
split-complementary
#AB9E42 #4284AB #6A42AB
monochromatic
#534C20 #7F7531 #AB9E42 #C4B866 #D5CD92

Accessibility & contrast

On white

2.73
#AB9E42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AB9E42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E42
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E42#FFFFFF#000000##000000
##AB9E421.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B09F47
Tritanopia (blue-blind)
#B7948A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9e42;
/* rgb */ color: rgb(171, 158, 66);
/* oklch */ color: oklch(69.2% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#c7ba7a',
    500: '#ab9e42',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e42;
$custom-light: #c7ba7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e42",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 52.571,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.11368,
    "h": 101.3
  },
  "luminance": 0.33505
}

Semantic roles & 50–950 ramp

primary
#AB9E42
secondary
#888FC0
accent
#64D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9E42

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

Preview Lab → · Contrast checker → · Palette generator →

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