#AB9442#AB9442

#AB9442 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 67.1% C 0.105 H 93.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AB9442
RGBrgb(171, 148, 66)
HSLhsl(47, 44%, 46%)
HSVhsv(47, 61%, 67%)
CMYKcmyk(0%, 13.5%, 61.4%, 32.9%)
CIE-LABlab(61.85, -1.43, 45.54)
CIE-LCHlch(61.85, 45.57, 91.80°)
OKLaboklab(67.07% -0.0068 0.105)
OKLCHoklch(67.07% 0.105 93.7)
XYZxyz(28.3691, 30.2325, 9.4944)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9442 #4259AB
analogous
#AB6042 #AB9442 #8EAB42
triadic
#AB9442 #42AB94 #9442AB
tetradic
#AB9442 #42AB60 #4259AB #AB428E
square
#AB9442 #42AB60 #4259AB #AB428E
split-complementary
#AB9442 #428EAB #6042AB
monochromatic
#534820 #7F6E31 #AB9442 #C4AF66 #D5C692

Accessibility & contrast

On white

2.98
#AB9442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AB9442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9442
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9442#FFFFFF#000000##000000
##AB94421.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#B88982
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab9442;
/* rgb */ color: rgb(171, 148, 66);
/* oklch */ color: oklch(67.1% 0.105 93.7);
Tailwind
colors: {
  custom: {
    50: '#c7b379',
    500: '#ab9442',
    950: '#000000',
  },
}
SCSS
$custom: #ab9442;
$custom-light: #c7b379;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9442",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 66
  },
  "hsl": {
    "h": 46.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67072,
    "c": 0.10526,
    "h": 93.7
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#AB9442
secondary
#8895C0
accent
#70D454
background
#FCFAF7
surface
#F8F5EE
border
#D1CFC9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9442

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

Preview Lab → · Contrast checker → · Palette generator →

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