#C9AB4E#C9AB4E

#C9AB4E is a light, moderate yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.117 H 91.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#C9AB4E
RGBrgb(201, 171, 78)
HSLhsl(45, 53%, 55%)
HSVhsv(45, 61%, 79%)
CMYKcmyk(0%, 14.9%, 61.2%, 21.2%)
CIE-LABlab(70.94, 0.05, 50.85)
CIE-LCHlch(70.94, 50.85, 89.94°)
OKLaboklab(74.96% -0.003 0.1172)
OKLCHoklch(74.96% 0.117 91.5)
XYZxyz(40.0273, 42.0955, 13.2232)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB4E #4E6CC9
analogous
#C96E4E #C9AB4E #AAC94E
triadic
#C9AB4E #4EC9AB #AB4EC9
tetradic
#C9AB4E #4EC96E #4E6CC9 #C94EAA
square
#C9AB4E #4EC96E #4E6CC9 #C94EAA
split-complementary
#C9AB4E #4EAAC9 #6E4EC9
monochromatic
#786425 #A78B33 #C9AB4E #D7C17D #E6D8AC

Accessibility & contrast

On white

2.23
#C9AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#C9AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB4E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB4E#FFFFFF#000000##000000
##C9AB4E1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#D89F97
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ab4e;
/* rgb */ color: rgb(201, 171, 78);
/* oklch */ color: oklch(75.0% 0.117 91.5);
Tailwind
colors: {
  custom: {
    50: '#dcc383',
    500: '#c9ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab4e;
$custom-light: #dcc383;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab4e",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 45.366,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74956,
    "c": 0.11727,
    "h": 91.5
  },
  "luminance": 0.42093
}

Semantic roles & 50–950 ramp

primary
#C9AB4E
secondary
#9FACD3
accent
#6FDD4B
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C9AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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