#C9DF52#C9DF52

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

Color values

HEX#C9DF52
RGBrgb(201, 223, 82)
HSLhsl(69, 69%, 60%)
HSVhsv(69, 63%, 87%)
CMYKcmyk(9.9%, 0%, 63.2%, 12.5%)
CIE-LABlab(84.90, -25.96, 64.31)
CIE-LCHlch(84.90, 69.35, 111.98°)
OKLaboklab(86.09% -0.0764 0.1464)
OKLCHoklch(86.09% 0.165 117.6)
XYZxyz(51.9991, 65.8026, 17.9429)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9DF52 #6852DF
analogous
#DFAF52 #C9DF52 #82DF52
triadic
#C9DF52 #52C9DF #DF52C9
tetradic
#C9DF52 #52DFAF #6852DF #DF5282
square
#C9DF52 #52DFAF #6852DF #DF5282
split-complementary
#C9DF52 #5282DF #AF52DF
monochromatic
#869A1D #B4CE26 #C9DF52 #D9E986 #E9F2B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9DF52#FFFFFF#000000##000000
##C9DF521.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)
#EDD440
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#D4D3C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c9df52;
/* rgb */ color: rgb(201, 223, 82);
/* oklch */ color: oklch(86.1% 0.165 117.6);
Tailwind
colors: {
  custom: {
    50: '#dce989',
    500: '#c9df52',
    950: '#000000',
  },
}
SCSS
$custom: #c9df52;
$custom-light: #dce989;
$custom-dark: #000000;
JSON
{
  "hex": "#c9df52",
  "rgb": {
    "r": 201,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 69.362,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86086,
    "c": 0.16509,
    "h": 117.6
  },
  "luminance": 0.65802
}

Semantic roles & 50–950 ramp

primary
#C9DF52
secondary
#47379E
accent
#3CEC58
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C9DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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