#C6DF40#C6DF40

#C6DF40 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 85.7% C 0.178 H 118.2°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#C6DF40
RGBrgb(198, 223, 64)
HSLhsl(69, 71%, 56%)
HSVhsv(69, 71%, 87%)
CMYKcmyk(11.2%, 0%, 71.3%, 12.5%)
CIE-LABlab(84.56, -28.21, 70.64)
CIE-LCHlch(84.56, 76.07, 111.77°)
OKLaboklab(85.73% -0.0841 0.1571)
OKLCHoklch(85.73% 0.178 118.2)
XYZxyz(50.6029, 65.1517, 14.7593)
Luminance0.6515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DF40 #5940DF
analogous
#DFA940 #C6DF40 #77DF40
triadic
#C6DF40 #40C6DF #DF40C6
tetradic
#C6DF40 #40DFA9 #5940DF #DF4077
square
#C6DF40 #40DFA9 #5940DF #DF4077
split-complementary
#C6DF40 #4077DF #A940DF
monochromatic
#7B8D18 #A8C120 #C6DF40 #D6E874 #E5F1A9

Accessibility & contrast

On white

1.50
#C6DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#C6DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DF40
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DF40#FFFFFF#000000##000000
##C6DF401.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED322
Deuteranopia (green-blind)
#EBD44D
Tritanopia (blue-blind)
#D2D3C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c6df40;
/* rgb */ color: rgb(198, 223, 64);
/* oklch */ color: oklch(85.7% 0.178 118.2);
Tailwind
colors: {
  custom: {
    50: '#dbe97f',
    500: '#c6df40',
    950: '#000000',
  },
}
SCSS
$custom: #c6df40;
$custom-light: #dbe97f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6df40",
  "rgb": {
    "r": 198,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 69.434,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.17818,
    "h": 118.2
  },
  "luminance": 0.65151
}

Semantic roles & 50–950 ramp

primary
#C6DF40
secondary
#403192
accent
#3AEE56
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C6DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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