#C9DF51#C9DF51

#C9DF51 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.1% C 0.166 H 117.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#C9DF51
RGBrgb(201, 223, 81)
HSLhsl(69, 69%, 60%)
HSVhsv(69, 64%, 87%)
CMYKcmyk(9.9%, 0%, 63.7%, 12.5%)
CIE-LABlab(84.89, -26.02, 64.70)
CIE-LCHlch(84.89, 69.74, 111.91°)
OKLaboklab(86.08% -0.0767 0.147)
OKLCHoklch(86.08% 0.166 117.5)
XYZxyz(51.9613, 65.7875, 17.7439)
Luminance0.6579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9DF51 #6751DF
analogous
#DFAE51 #C9DF51 #82DF51
triadic
#C9DF51 #51C9DF #DF51C9
tetradic
#C9DF51 #51DFAE #6751DF #DF5182
square
#C9DF51 #51DFAE #6751DF #DF5182
split-complementary
#C9DF51 #5182DF #AE51DF
monochromatic
#86991C #B3CD26 #C9DF51 #D9E985 #E9F2B8

Accessibility & contrast

On white

1.48
#C9DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#C9DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9DF51
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9DF51#FFFFFF#000000##000000
##C9DF511.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD43E
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#D5D3C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c9df51;
/* rgb */ color: rgb(201, 223, 81);
/* oklch */ color: oklch(86.1% 0.166 117.5);
Tailwind
colors: {
  custom: {
    50: '#dce988',
    500: '#c9df51',
    950: '#000000',
  },
}
SCSS
$custom: #c9df51;
$custom-light: #dce988;
$custom-dark: #000000;
JSON
{
  "hex": "#c9df51",
  "rgb": {
    "r": 201,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 69.296,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86077,
    "c": 0.16583,
    "h": 117.5
  },
  "luminance": 0.65787
}

Semantic roles & 50–950 ramp

primary
#C9DF51
secondary
#47379D
accent
#3CEC57
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C9DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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