#AB9642#AB9642

#AB9642 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.5% C 0.107 H 95.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AB9642
RGBrgb(171, 150, 66)
HSLhsl(48, 44%, 46%)
HSVhsv(48, 61%, 67%)
CMYKcmyk(0%, 12.3%, 61.4%, 32.9%)
CIE-LABlab(62.39, -2.52, 46.15)
CIE-LCHlch(62.39, 46.22, 93.12°)
OKLaboklab(67.5% -0.0099 0.1063)
OKLCHoklch(67.5% 0.107 95.3)
XYZxyz(28.6855, 30.8653, 9.5998)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9642 #4257AB
analogous
#AB6242 #AB9642 #8CAB42
triadic
#AB9642 #42AB96 #9642AB
tetradic
#AB9642 #42AB62 #4257AB #AB428C
square
#AB9642 #42AB62 #4257AB #AB428C
split-complementary
#AB9642 #428CAB #6242AB
monochromatic
#534920 #7F6F31 #AB9642 #C4B166 #D5C892

Accessibility & contrast

On white

2.93
#AB9642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AB9642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9642
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9642#FFFFFF#000000##000000
##AB96421.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#B88B84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab9642;
/* rgb */ color: rgb(171, 150, 66);
/* oklch */ color: oklch(67.5% 0.107 95.3);
Tailwind
colors: {
  custom: {
    50: '#c7b47a',
    500: '#ab9642',
    950: '#000000',
  },
}
SCSS
$custom: #ab9642;
$custom-light: #c7b47a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9642",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 66
  },
  "hsl": {
    "h": 48,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.10679,
    "h": 95.3
  },
  "luminance": 0.30864
}

Semantic roles & 50–950 ramp

primary
#AB9642
secondary
#8894C0
accent
#6DD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9642

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

Preview Lab → · Contrast checker → · Palette generator →

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