#C9C545#C9C545

#C9C545 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.3% C 0.146 H 107.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C9C545
RGBrgb(201, 197, 69)
HSLhsl(58, 55%, 53%)
HSVhsv(58, 66%, 79%)
CMYKcmyk(0%, 2%, 65.7%, 21.2%)
CIE-LABlab(77.75, -14.00, 62.05)
CIE-LCHlch(77.75, 63.61, 102.72°)
OKLaboklab(80.33% -0.0441 0.1397)
OKLCHoklch(80.33% 0.146 107.5)
XYZxyz(45.1294, 52.7811, 13.4396)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C545 #4549C9
analogous
#C98345 #C9C545 #8BC945
triadic
#C9C545 #45C9C5 #C545C9
tetradic
#C9C545 #45C983 #4549C9 #C9458B
square
#C9C545 #45C983 #4549C9 #C9458B
split-complementary
#C9C545 #458BC9 #8345C9
monochromatic
#727021 #A29E2F #C9C545 #D7D474 #E5E3A4

Accessibility & contrast

On white

1.82
#C9C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C9C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C545
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C545#FFFFFF#000000##000000
##C9C5451.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD33
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#D7B9AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c9c545;
/* rgb */ color: rgb(201, 197, 69);
/* oklch */ color: oklch(80.3% 0.146 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd67f',
    500: '#c9c545',
    950: '#000000',
  },
}
SCSS
$custom: #c9c545;
$custom-light: #ddd67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c545",
  "rgb": {
    "r": 201,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 58.182,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80333,
    "c": 0.14649,
    "h": 107.5
  },
  "luminance": 0.5278
}

Semantic roles & 50–950 ramp

primary
#C9C545
secondary
#37397B
accent
#4EDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C545

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

Preview Lab → · Contrast checker → · Palette generator →

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