#C9D540#C9D540

#C9D540 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.8% C 0.166 H 114.0°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#C9D540
RGBrgb(201, 213, 64)
HSLhsl(65, 64%, 54%)
HSVhsv(65, 70%, 84%)
CMYKcmyk(5.6%, 0%, 70%, 16.5%)
CIE-LABlab(82.04, -22.20, 68.26)
CIE-LCHlch(82.04, 71.78, 108.02°)
OKLaboklab(83.76% -0.0676 0.152)
OKLCHoklch(83.76% 0.166 114)
XYZxyz(48.8084, 60.3771, 13.9323)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D540 #4C40D5
analogous
#D59740 #C9D540 #7FD540
triadic
#C9D540 #40C9D5 #D540C9
tetradic
#C9D540 #40D597 #4C40D5 #D5407F
square
#C9D540 #40D597 #4C40D5 #D5407F
split-complementary
#C9D540 #407FD5 #9740D5
monochromatic
#777F1C #A6B127 #C9D540 #D7E072 #E5EBA4

Accessibility & contrast

On white

1.61
#C9D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#C9D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D540
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D540#FFFFFF#000000##000000
##C9D5401.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#D6C9B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c9d540;
/* rgb */ color: rgb(201, 213, 64);
/* oklch */ color: oklch(83.8% 0.166 114.0);
Tailwind
colors: {
  custom: {
    50: '#dde17e',
    500: '#c9d540',
    950: '#000000',
  },
}
SCSS
$custom: #c9d540;
$custom-light: #dde17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d540",
  "rgb": {
    "r": 201,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 64.832,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83757,
    "c": 0.16632,
    "h": 114
  },
  "luminance": 0.60376
}

Semantic roles & 50–950 ramp

primary
#C9D540
secondary
#3A3386
accent
#41E74E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #C9D540

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

Preview Lab → · Contrast checker → · Palette generator →

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