#C7DD42#C7DD42

#C7DD42 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.4% C 0.174 H 117.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#C7DD42
RGBrgb(199, 221, 66)
HSLhsl(69, 70%, 56%)
HSVhsv(69, 70%, 87%)
CMYKcmyk(10%, 0%, 70.1%, 13.3%)
CIE-LABlab(84.10, -26.76, 69.52)
CIE-LCHlch(84.10, 74.49, 111.05°)
OKLaboklab(85.37% -0.08 0.155)
OKLCHoklch(85.37% 0.174 117.3)
XYZxyz(50.3942, 64.2489, 14.8997)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DD42 #5842DD
analogous
#DDA642 #C7DD42 #7ADD42
triadic
#C7DD42 #42C7DD #DD42C7
tetradic
#C7DD42 #42DDA6 #5842DD #DD427A
square
#C7DD42 #42DDA6 #5842DD #DD427A
split-complementary
#C7DD42 #427ADD #A642DD
monochromatic
#7B8C19 #A9BF22 #C7DD42 #D6E676 #E6F0AA

Accessibility & contrast

On white

1.52
#C7DD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#C7DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DD42
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DD42#FFFFFF#000000##000000
##C7DD421.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD127
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#D3D1BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7dd42;
/* rgb */ color: rgb(199, 221, 66);
/* oklch */ color: oklch(85.4% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#dbe780',
    500: '#c7dd42',
    950: '#000000',
  },
}
SCSS
$custom: #c7dd42;
$custom-light: #dbe780;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dd42",
  "rgb": {
    "r": 199,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 68.516,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85372,
    "c": 0.17441,
    "h": 117.3
  },
  "luminance": 0.64248
}

Semantic roles & 50–950 ramp

primary
#C7DD42
secondary
#403291
accent
#3BEC55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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