#C6DD40#C6DD40

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

Color values

HEX#C6DD40
RGBrgb(198, 221, 64)
HSLhsl(69, 70%, 56%)
HSVhsv(69, 71%, 87%)
CMYKcmyk(10.4%, 0%, 71%, 13.3%)
CIE-LABlab(84.01, -27.27, 70.11)
CIE-LCHlch(84.01, 75.23, 111.25°)
OKLaboklab(85.28% -0.0815 0.1559)
OKLCHoklch(85.28% 0.176 117.6)
XYZxyz(50.0717, 64.0894, 14.5822)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DD40 #5740DD
analogous
#DDA540 #C6DD40 #77DD40
triadic
#C6DD40 #40C6DD #DD40C6
tetradic
#C6DD40 #40DDA5 #5740DD #DD4077
square
#C6DD40 #40DDA5 #5740DD #DD4077
split-complementary
#C6DD40 #4077DD #A540DD
monochromatic
#798A19 #A7BE22 #C6DD40 #D6E674 #E5EFA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6DD40#FFFFFF#000000##000000
##C6DD401.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)
#ECD123
Deuteranopia (green-blind)
#E9D24D
Tritanopia (blue-blind)
#D2D1BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c6dd40;
/* rgb */ color: rgb(198, 221, 64);
/* oklch */ color: oklch(85.3% 0.176 117.6);
Tailwind
colors: {
  custom: {
    50: '#dbe77f',
    500: '#c6dd40',
    950: '#000000',
  },
}
SCSS
$custom: #c6dd40;
$custom-light: #dbe77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6dd40",
  "rgb": {
    "r": 198,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 68.79,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85284,
    "c": 0.17596,
    "h": 117.6
  },
  "luminance": 0.64089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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