#C6DD38#C6DD38

#C6DD38 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.2% C 0.180 H 117.5°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#C6DD38
RGBrgb(198, 221, 56)
HSLhsl(68, 71%, 54%)
HSVhsv(68, 75%, 87%)
CMYKcmyk(10.4%, 0%, 74.7%, 13.3%)
CIE-LABlab(83.97, -27.65, 72.71)
CIE-LCHlch(83.97, 77.79, 110.82°)
OKLaboklab(85.23% -0.0832 0.1601)
OKLCHoklch(85.23% 0.18 117.5)
XYZxyz(49.8602, 64.0048, 13.4681)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DD38 #4F38DD
analogous
#DDA238 #C6DD38 #73DD38
triadic
#C6DD38 #38C6DD #DD38C6
tetradic
#C6DD38 #38DDA2 #4F38DD #DD3873
square
#C6DD38 #38DDA2 #4F38DD #DD3873
split-complementary
#C6DD38 #3873DD #A238DD
monochromatic
#758417 #A3B81F #C6DD38 #D5E66C #E4EFA1

Accessibility & contrast

On white

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

On black

13.80
#C6DD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DD38
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DD38#FFFFFF#000000##000000
##C6DD381.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD10F
Deuteranopia (green-blind)
#EAD247
Tritanopia (blue-blind)
#D2D1BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c6dd38;
/* rgb */ color: rgb(198, 221, 56);
/* oklch */ color: oklch(85.2% 0.180 117.5);
Tailwind
colors: {
  custom: {
    50: '#dbe77b',
    500: '#c6dd38',
    950: '#000000',
  },
}
SCSS
$custom: #c6dd38;
$custom-light: #dbe77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6dd38",
  "rgb": {
    "r": 198,
    "g": 221,
    "b": 56
  },
  "hsl": {
    "h": 68.364,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85234,
    "c": 0.18045,
    "h": 117.5
  },
  "luminance": 0.64004
}

Semantic roles & 50–950 ramp

primary
#C6DD38
secondary
#3B2F8B
accent
#3AEE53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C6DD38

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

Preview Lab → · Contrast checker → · Palette generator →

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