#C7DE42#C7DE42

#C7DE42 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.6% C 0.176 H 117.6°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#C7DE42
RGBrgb(199, 222, 66)
HSLhsl(69, 70%, 56%)
HSVhsv(69, 70%, 87%)
CMYKcmyk(10.4%, 0%, 70.3%, 12.9%)
CIE-LABlab(84.37, -27.23, 69.78)
CIE-LCHlch(84.37, 74.91, 111.32°)
OKLaboklab(85.59% -0.0813 0.1555)
OKLCHoklch(85.59% 0.176 117.6)
XYZxyz(50.6590, 64.7785, 14.9880)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DE42 #5942DE
analogous
#DEA742 #C7DE42 #79DE42
triadic
#C7DE42 #42C7DE #DE42C7
tetradic
#C7DE42 #42DEA7 #5942DE #DE4279
square
#C7DE42 #42DEA7 #5942DE #DE4279
split-complementary
#C7DE42 #4279DE #A742DE
monochromatic
#7C8D19 #AAC122 #C7DE42 #D6E776 #E6F0AA

Accessibility & contrast

On white

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

On black

13.96
#C7DE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DE42
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DE42#FFFFFF#000000##000000
##C7DE421.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD227
Deuteranopia (green-blind)
#EAD34F
Tritanopia (blue-blind)
#D3D2C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7de42;
/* rgb */ color: rgb(199, 222, 66);
/* oklch */ color: oklch(85.6% 0.176 117.6);
Tailwind
colors: {
  custom: {
    50: '#dce880',
    500: '#c7de42',
    950: '#000000',
  },
}
SCSS
$custom: #c7de42;
$custom-light: #dce880;
$custom-dark: #000000;
JSON
{
  "hex": "#c7de42",
  "rgb": {
    "r": 199,
    "g": 222,
    "b": 66
  },
  "hsl": {
    "h": 68.846,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85592,
    "c": 0.17552,
    "h": 117.6
  },
  "luminance": 0.64778
}

Semantic roles & 50–950 ramp

primary
#C7DE42
secondary
#403292
accent
#3BED55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DE42

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

Preview Lab → · Contrast checker → · Palette generator →

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