#C9D340#C9D340

#C9D340 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.3% C 0.164 H 113.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#C9D340
RGBrgb(201, 211, 64)
HSLhsl(64, 63%, 54%)
HSVhsv(64, 70%, 83%)
CMYKcmyk(4.7%, 0%, 69.7%, 17.3%)
CIE-LABlab(81.50, -21.23, 67.72)
CIE-LCHlch(81.50, 70.97, 107.40°)
OKLaboklab(83.32% -0.0649 0.1508)
OKLCHoklch(83.32% 0.164 113.3)
XYZxyz(48.3085, 59.3772, 13.7656)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D340 #4A40D3
analogous
#D39440 #C9D340 #80D340
triadic
#C9D340 #40C9D3 #D340C9
tetradic
#C9D340 #40D394 #4A40D3 #D34080
square
#C9D340 #40D394 #4A40D3 #D34080
split-complementary
#C9D340 #4080D3 #9440D3
monochromatic
#767C1D #A5AE28 #C9D340 #D7DE72 #E5EAA3

Accessibility & contrast

On white

1.63
#C9D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#C9D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D340
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D340#FFFFFF#000000##000000
##C9D3401.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E2CC4B
Tritanopia (blue-blind)
#D6C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c9d340;
/* rgb */ color: rgb(201, 211, 64);
/* oklch */ color: oklch(83.3% 0.164 113.3);
Tailwind
colors: {
  custom: {
    50: '#dde07e',
    500: '#c9d340',
    950: '#000000',
  },
}
SCSS
$custom: #c9d340;
$custom-light: #dde07e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d340",
  "rgb": {
    "r": 201,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 64.082,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83321,
    "c": 0.16419,
    "h": 113.3
  },
  "luminance": 0.59376
}

Semantic roles & 50–950 ramp

primary
#C9D340
secondary
#393384
accent
#42E64D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #C9D340

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

Preview Lab → · Contrast checker → · Palette generator →

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