#C7DE52#C7DE52

#C7DE52 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 85.7% C 0.165 H 118.0°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#C7DE52
RGBrgb(199, 222, 82)
HSLhsl(70, 68%, 60%)
HSVhsv(70, 63%, 87%)
CMYKcmyk(10.4%, 0%, 63.1%, 12.9%)
CIE-LABlab(84.48, -26.28, 63.83)
CIE-LCHlch(84.48, 69.02, 112.38°)
OKLaboklab(85.72% -0.0772 0.1454)
OKLCHoklch(85.72% 0.165 118)
XYZxyz(51.1984, 64.9943, 17.8290)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DE52 #6952DE
analogous
#DEAF52 #C7DE52 #81DE52
triadic
#C7DE52 #52C7DE #DE52C7
tetradic
#C7DE52 #52DEAF #6952DE #DE5281
square
#C7DE52 #52DEAF #6952DE #DE5281
split-complementary
#C7DE52 #5281DE #AF52DE
monochromatic
#84991D #B1CC27 #C7DE52 #D8E885 #E8F2B9

Accessibility & contrast

On white

1.50
#C7DE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#C7DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DE52
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DE52#FFFFFF#000000##000000
##C7DE521.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD340
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#D2D2C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c7de52;
/* rgb */ color: rgb(199, 222, 82);
/* oklch */ color: oklch(85.7% 0.165 118.0);
Tailwind
colors: {
  custom: {
    50: '#dbe889',
    500: '#c7de52',
    950: '#000000',
  },
}
SCSS
$custom: #c7de52;
$custom-light: #dbe889;
$custom-dark: #000000;
JSON
{
  "hex": "#c7de52",
  "rgb": {
    "r": 199,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 69.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85718,
    "c": 0.16459,
    "h": 118
  },
  "luminance": 0.64994
}

Semantic roles & 50–950 ramp

primary
#C7DE52
secondary
#48389D
accent
#3DEB5A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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