#C9AB45#C9AB45

#C9AB45 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.125 H 92.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#C9AB45
RGBrgb(201, 171, 69)
HSLhsl(46, 55%, 53%)
HSVhsv(46, 66%, 79%)
CMYKcmyk(0%, 14.9%, 65.7%, 21.2%)
CIE-LABlab(70.85, -0.53, 54.83)
CIE-LCHlch(70.85, 54.83, 90.56°)
OKLaboklab(74.86% -0.0058 0.1244)
OKLCHoklch(74.86% 0.125 92.7)
XYZxyz(39.7264, 41.9752, 11.6386)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB45 #4563C9
analogous
#C96945 #C9AB45 #A5C945
triadic
#C9AB45 #45C9AB #AB45C9
tetradic
#C9AB45 #45C969 #4563C9 #C945A5
square
#C9AB45 #45C969 #4563C9 #C945A5
split-complementary
#C9AB45 #45A5C9 #6945C9
monochromatic
#726021 #A2882F #C9AB45 #D7C074 #E5D6A4

Accessibility & contrast

On white

2.24
#C9AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#C9AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB45
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB45#FFFFFF#000000##000000
##C9AB451.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#D99E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab45;
/* rgb */ color: rgb(201, 171, 69);
/* oklch */ color: oklch(74.9% 0.125 92.7);
Tailwind
colors: {
  custom: {
    50: '#ddc37d',
    500: '#c9ab45',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab45;
$custom-light: #ddc37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab45",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 46.364,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74864,
    "c": 0.12454,
    "h": 92.7
  },
  "luminance": 0.41973
}

Semantic roles & 50–950 ramp

primary
#C9AB45
secondary
#98A5D1
accent
#6BDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C9AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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