#C9AB2F#C9AB2F

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

Color values

HEX#C9AB2F
RGBrgb(201, 171, 47)
HSLhsl(48, 62%, 49%)
HSVhsv(48, 77%, 79%)
CMYKcmyk(0%, 14.9%, 76.6%, 21.2%)
CIE-LABlab(70.70, -1.63, 63.39)
CIE-LCHlch(70.70, 63.41, 91.47°)
OKLaboklab(74.69% -0.0114 0.1386)
OKLCHoklch(74.69% 0.139 94.7)
XYZxyz(39.1655, 41.7508, 8.6846)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB2F #2F4DC9
analogous
#C95E2F #C9AB2F #9AC92F
triadic
#C9AB2F #2FC9AB #AB2FC9
tetradic
#C9AB2F #2FC95E #2F4DC9 #C92F9A
square
#C9AB2F #2FC95E #2F4DC9 #C92F9A
split-complementary
#C9AB2F #2F9AC9 #5E2FC9
monochromatic
#665718 #978123 #C9AB2F #D9C15C #E5D48E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9AB2F#FFFFFF#000000##000000
##C9AB2F1.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)
#BDA816
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#D99D93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab2f;
/* rgb */ color: rgb(201, 171, 47);
/* oklch */ color: oklch(74.7% 0.139 94.7);
Tailwind
colors: {
  custom: {
    50: '#dec371',
    500: '#c9ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab2f;
$custom-light: #dec371;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab2f",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 48.312,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.13903,
    "h": 94.7
  },
  "luminance": 0.41749
}

Semantic roles & 50–950 ramp

primary
#C9AB2F
secondary
#8593CF
accent
#62E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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