#C6DF2A#C6DF2A

#C6DF2A is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.6% C 0.189 H 117.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#C6DF2A
RGBrgb(198, 223, 42)
HSLhsl(68, 74%, 52%)
HSVhsv(68, 81%, 87%)
CMYKcmyk(11.2%, 0%, 81.2%, 12.5%)
CIE-LABlab(84.46, -29.12, 77.08)
CIE-LCHlch(84.46, 82.40, 110.70°)
OKLaboklab(85.61% -0.0883 0.1671)
OKLCHoklch(85.61% 0.189 117.9)
XYZxyz(50.0956, 64.9488, 12.0874)
Luminance0.6495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DF2A #432ADF
analogous
#DF9D2A #C6DF2A #6CDF2A
triadic
#C6DF2A #2AC6DF #DF2AC6
tetradic
#C6DF2A #2ADF9D #432ADF #DF2A6C
square
#C6DF2A #2ADF9D #432ADF #DF2A6C
split-complementary
#C6DF2A #2A6CDF #9D2ADF
monochromatic
#6D7C13 #9CB11B #C6DF2A #D4E75F #E2EF94

Accessibility & contrast

On white

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

On black

13.99
#C6DF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DF2A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DF2A#FFFFFF#000000##000000
##C6DF2A1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#ECD43E
Tritanopia (blue-blind)
#D3D2BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c6df2a;
/* rgb */ color: rgb(198, 223, 42);
/* oklch */ color: oklch(85.6% 0.189 117.9);
Tailwind
colors: {
  custom: {
    50: '#dce875',
    500: '#c6df2a',
    950: '#000000',
  },
}
SCSS
$custom: #c6df2a;
$custom-light: #dce875;
$custom-dark: #000000;
JSON
{
  "hex": "#c6df2a",
  "rgb": {
    "r": 198,
    "g": 223,
    "b": 42
  },
  "hsl": {
    "h": 68.287,
    "s": 73.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.85608,
    "c": 0.18899,
    "h": 117.9
  },
  "luminance": 0.64948
}

Semantic roles & 50–950 ramp

primary
#C6DF2A
secondary
#362A83
accent
#37F151
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#16160A
muted
#84847D

Preview Lab

Preview with #C6DF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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