#AB9945#AB9945

#AB9945 is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.2% C 0.107 H 97.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AB9945
RGBrgb(171, 153, 69)
HSLhsl(49, 43%, 47%)
HSVhsv(49, 60%, 67%)
CMYKcmyk(0%, 10.5%, 59.6%, 32.9%)
CIE-LABlab(63.24, -3.92, 45.66)
CIE-LCHlch(63.24, 45.83, 94.91°)
OKLaboklab(68.18% -0.0136 0.1057)
OKLCHoklch(68.18% 0.107 97.3)
XYZxyz(29.2612, 31.8714, 10.2396)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9945 #4557AB
analogous
#AB6645 #AB9945 #8AAB45
triadic
#AB9945 #45AB99 #9945AB
tetradic
#AB9945 #45AB66 #4557AB #AB458A
square
#AB9945 #45AB66 #4557AB #AB458A
split-complementary
#AB9945 #458AAB #6645AB
monochromatic
#544B22 #7F7233 #AB9945 #C3B36A #D5C996

Accessibility & contrast

On white

2.85
#AB9945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#AB9945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9945
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9945#FFFFFF#000000##000000
##AB99451.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7963C
Deuteranopia (green-blind)
#AC9C49
Tritanopia (blue-blind)
#B78F86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9945;
/* rgb */ color: rgb(171, 153, 69);
/* oklch */ color: oklch(68.2% 0.107 97.3);
Tailwind
colors: {
  custom: {
    50: '#c7b67c',
    500: '#ab9945',
    950: '#000000',
  },
}
SCSS
$custom: #ab9945;
$custom-light: #c7b67c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9945",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 49.412,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68175,
    "c": 0.10656,
    "h": 97.3
  },
  "luminance": 0.3187
}

Semantic roles & 50–950 ramp

primary
#AB9945
secondary
#8B95C0
accent
#6CD256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB9945

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

Preview Lab → · Contrast checker → · Palette generator →

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