#C9D240#C9D240

#C9D240 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.1% C 0.163 H 112.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#C9D240
RGBrgb(201, 210, 64)
HSLhsl(64, 62%, 54%)
HSVhsv(64, 70%, 82%)
CMYKcmyk(4.3%, 0%, 69.5%, 17.6%)
CIE-LABlab(81.23, -20.74, 67.45)
CIE-LCHlch(81.23, 70.57, 107.09°)
OKLaboklab(83.1% -0.0635 0.1503)
OKLCHoklch(83.1% 0.163 112.9)
XYZxyz(48.0608, 58.8819, 13.6831)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D240 #4940D2
analogous
#D29240 #C9D240 #80D240
triadic
#C9D240 #40C9D2 #D240C9
tetradic
#C9D240 #40D292 #4940D2 #D24080
square
#C9D240 #40D292 #4940D2 #D24080
split-complementary
#C9D240 #4080D2 #9240D2
monochromatic
#757B1D #A4AC29 #C9D240 #D7DE72 #E5E9A3

Accessibility & contrast

On white

1.64
#C9D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#C9D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D240
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D240#FFFFFF#000000##000000
##C9D2401.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C827
Deuteranopia (green-blind)
#E2CB4B
Tritanopia (blue-blind)
#D6C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c9d240;
/* rgb */ color: rgb(201, 210, 64);
/* oklch */ color: oklch(83.1% 0.163 112.9);
Tailwind
colors: {
  custom: {
    50: '#dddf7e',
    500: '#c9d240',
    950: '#000000',
  },
}
SCSS
$custom: #c9d240;
$custom-light: #dddf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d240",
  "rgb": {
    "r": 201,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 63.699,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83104,
    "c": 0.16315,
    "h": 112.9
  },
  "luminance": 0.58881
}

Semantic roles & 50–950 ramp

primary
#C9D240
secondary
#393483
accent
#43E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9D240

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

Preview Lab → · Contrast checker → · Palette generator →

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