#C6DD42#C6DD42

#C6DD42 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.3% C 0.175 H 117.6°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#C6DD42
RGBrgb(198, 221, 66)
HSLhsl(69, 70%, 56%)
HSVhsv(69, 70%, 87%)
CMYKcmyk(10.4%, 0%, 70.1%, 13.3%)
CIE-LABlab(84.02, -27.16, 69.42)
CIE-LCHlch(84.02, 74.55, 111.37°)
OKLaboklab(85.3% -0.0811 0.1548)
OKLCHoklch(85.3% 0.175 117.6)
XYZxyz(50.1296, 64.1125, 14.8873)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DD42 #5942DD
analogous
#DDA742 #C6DD42 #79DD42
triadic
#C6DD42 #42C6DD #DD42C6
tetradic
#C6DD42 #42DDA7 #5942DD #DD4279
square
#C6DD42 #42DDA7 #5942DD #DD4279
split-complementary
#C6DD42 #4279DD #A742DD
monochromatic
#7B8C19 #A8BF22 #C6DD42 #D6E676 #E5F0AA

Accessibility & contrast

On white

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

On black

13.82
#C6DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DD42
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DD42#FFFFFF#000000##000000
##C6DD421.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6dd42;
/* rgb */ color: rgb(198, 221, 66);
/* oklch */ color: oklch(85.3% 0.175 117.6);
Tailwind
colors: {
  custom: {
    50: '#dbe780',
    500: '#c6dd42',
    950: '#000000',
  },
}
SCSS
$custom: #c6dd42;
$custom-light: #dbe780;
$custom-dark: #000000;
JSON
{
  "hex": "#c6dd42",
  "rgb": {
    "r": 198,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 68.903,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85297,
    "c": 0.17475,
    "h": 117.6
  },
  "luminance": 0.64112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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