#C9D152#C9D152

#C9D152 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.149 H 112.6°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#C9D152
RGBrgb(201, 209, 82)
HSLhsl(64, 58%, 57%)
HSVhsv(64, 61%, 82%)
CMYKcmyk(3.8%, 0%, 60.8%, 18%)
CIE-LABlab(81.09, -19.17, 60.23)
CIE-LCHlch(81.09, 63.21, 107.65°)
OKLaboklab(83.03% -0.0574 0.1377)
OKLCHoklch(83.03% 0.149 112.6)
XYZxyz(48.4121, 58.6286, 16.7472)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D152 #5A52D1
analogous
#D19A52 #C9D152 #89D152
triadic
#C9D152 #52C9D1 #D152C9
tetradic
#C9D152 #52D19A #5A52D1 #D15289
square
#C9D152 #52D19A #5A52D1 #D15289
split-complementary
#C9D152 #5289D1 #9A52D1
monochromatic
#7F8523 #ADB630 #C9D152 #D8DE82 #E7EBB3

Accessibility & contrast

On white

1.65
#C9D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#C9D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D152
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D152#FFFFFF#000000##000000
##C9D1521.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D6C5B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c9d152;
/* rgb */ color: rgb(201, 209, 82);
/* oklch */ color: oklch(83.0% 0.149 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcde88',
    500: '#c9d152',
    950: '#000000',
  },
}
SCSS
$custom: #c9d152;
$custom-light: #dcde88;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d152",
  "rgb": {
    "r": 201,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 63.78,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83034,
    "c": 0.14921,
    "h": 112.6
  },
  "luminance": 0.58628
}

Semantic roles & 50–950 ramp

primary
#C9D152
secondary
#403B8C
accent
#47E150
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C9D152

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

Preview Lab → · Contrast checker → · Palette generator →

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