#C6DB40#C6DB40

#C6DB40 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 84.8% C 0.174 H 117.0°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#C6DB40
RGBrgb(198, 219, 64)
HSLhsl(68, 68%, 55%)
HSVhsv(68, 71%, 86%)
CMYKcmyk(9.6%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.46, -26.32, 69.57)
CIE-LCHlch(83.46, 74.38, 110.72°)
OKLaboklab(84.84% -0.0789 0.1548)
OKLCHoklch(84.84% 0.174 117)
XYZxyz(49.5468, 63.0396, 14.4072)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DB40 #5540DB
analogous
#DBA240 #C6DB40 #78DB40
triadic
#C6DB40 #40C6DB #DB40C6
tetradic
#C6DB40 #40DBA2 #5540DB #DB4078
square
#C6DB40 #40DBA2 #5540DB #DB4078
split-complementary
#C6DB40 #4078DB #A240DB
monochromatic
#788719 #A6BB23 #C6DB40 #D5E573 #E5EEA7

Accessibility & contrast

On white

1.54
#C6DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#C6DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DB40
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DB40#FFFFFF#000000##000000
##C6DB401.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF24
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#D2CFBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c6db40;
/* rgb */ color: rgb(198, 219, 64);
/* oklch */ color: oklch(84.8% 0.174 117.0);
Tailwind
colors: {
  custom: {
    50: '#dbe67f',
    500: '#c6db40',
    950: '#000000',
  },
}
SCSS
$custom: #c6db40;
$custom-light: #dbe67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6db40",
  "rgb": {
    "r": 198,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 68.129,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84842,
    "c": 0.17375,
    "h": 117
  },
  "luminance": 0.63039
}

Semantic roles & 50–950 ramp

primary
#C6DB40
secondary
#3E328D
accent
#3DEB54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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