#C9C845#C9C845

#C9C845 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.149 H 108.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#C9C845
RGBrgb(201, 200, 69)
HSLhsl(60, 55%, 53%)
HSVhsv(60, 66%, 79%)
CMYKcmyk(0%, 0.5%, 65.7%, 21.2%)
CIE-LABlab(78.55, -15.51, 62.88)
CIE-LCHlch(78.55, 64.77, 103.86°)
OKLaboklab(80.98% -0.0484 0.1414)
OKLCHoklch(80.98% 0.149 108.9)
XYZxyz(45.8174, 54.1571, 13.6689)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C845 #4546C9
analogous
#C98645 #C9C845 #88C945
triadic
#C9C845 #45C9C8 #C845C9
tetradic
#C9C845 #45C986 #4546C9 #C94588
square
#C9C845 #45C986 #4546C9 #C94588
split-complementary
#C9C845 #4588C9 #8645C9
monochromatic
#727221 #A2A12F #C9C845 #D7D674 #E5E4A4

Accessibility & contrast

On white

1.77
#C9C845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#C9C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C845
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C845#FFFFFF#000000##000000
##C9C8451.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DAC44E
Tritanopia (blue-blind)
#D7BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c845;
/* rgb */ color: rgb(201, 200, 69);
/* oklch */ color: oklch(81.0% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#ddd880',
    500: '#c9c845',
    950: '#000000',
  },
}
SCSS
$custom: #c9c845;
$custom-light: #ddd880;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c845",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 59.545,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80977,
    "c": 0.14949,
    "h": 108.9
  },
  "luminance": 0.54156
}

Semantic roles & 50–950 ramp

primary
#C9C845
secondary
#37377B
accent
#4BDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C845

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

Preview Lab → · Contrast checker → · Palette generator →

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