#AB9140#AB9140

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

Color values

HEX#AB9140
RGBrgb(171, 145, 64)
HSLhsl(45, 46%, 46%)
HSVhsv(45, 63%, 67%)
CMYKcmyk(0%, 15.2%, 62.6%, 32.9%)
CIE-LABlab(61.03, 0.07, 45.58)
CIE-LCHlch(61.03, 45.58, 89.92°)
OKLaboklab(66.41% -0.0027 0.1048)
OKLCHoklch(66.41% 0.105 91.5)
XYZxyz(27.8467, 29.2804, 9.0344)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9140 #405AAB
analogous
#AB5B40 #AB9140 #8FAB40
triadic
#AB9140 #40AB91 #9140AB
tetradic
#AB9140 #40AB5B #405AAB #AB408F
square
#AB9140 #40AB5B #405AAB #AB408F
split-complementary
#AB9140 #408FAB #5B40AB
monochromatic
#52451F #7E6B2F #AB9140 #C5AD63 #D5C590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9140#FFFFFF#000000##000000
##AB91401.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)
#A08F37
Deuteranopia (green-blind)
#A69644
Tritanopia (blue-blind)
#B8867F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9140;
/* rgb */ color: rgb(171, 145, 64);
/* oklch */ color: oklch(66.4% 0.105 91.5);
Tailwind
colors: {
  custom: {
    50: '#c7b178',
    500: '#ab9140',
    950: '#000000',
  },
}
SCSS
$custom: #ab9140;
$custom-light: #c7b178;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9140",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 64
  },
  "hsl": {
    "h": 45.421,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.10487,
    "h": 91.5
  },
  "luminance": 0.29279
}

Semantic roles & 50–950 ramp

primary
#AB9140
secondary
#8694C1
accent
#72D553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#131009
muted
#827F7B

Preview Lab

Preview with #AB9140

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

Preview Lab → · Contrast checker → · Palette generator →

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