#C9AB2E#C9AB2E

#C9AB2E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.140 H 94.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C9AB2E
RGBrgb(201, 171, 46)
HSLhsl(48, 63%, 48%)
HSVhsv(48, 77%, 79%)
CMYKcmyk(0%, 14.9%, 77.1%, 21.2%)
CIE-LABlab(70.69, -1.67, 63.73)
CIE-LCHlch(70.69, 63.75, 91.50°)
OKLaboklab(74.69% -0.0116 0.1391)
OKLCHoklch(74.69% 0.14 94.8)
XYZxyz(39.1456, 41.7428, 8.5795)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB2E #2E4CC9
analogous
#C95D2E #C9AB2E #99C92E
triadic
#C9AB2E #2EC9AB #AB2EC9
tetradic
#C9AB2E #2EC95D #2E4CC9 #C92E99
square
#C9AB2E #2EC95D #2E4CC9 #C92E99
split-complementary
#C9AB2E #2E99C9 #5D2EC9
monochromatic
#655617 #978123 #C9AB2E #D9C15B #E5D48D

Accessibility & contrast

On white

2.25
#C9AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C9AB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB2E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB2E#FFFFFF#000000##000000
##C9AB2E1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA814
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#D99D93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab2e;
/* rgb */ color: rgb(201, 171, 46);
/* oklch */ color: oklch(74.7% 0.140 94.8);
Tailwind
colors: {
  custom: {
    50: '#dec371',
    500: '#c9ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab2e;
$custom-light: #dec371;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab2e",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 48.387,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.13956,
    "h": 94.8
  },
  "luminance": 0.41741
}

Semantic roles & 50–950 ramp

primary
#C9AB2E
secondary
#8492CF
accent
#62E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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