#C6E042#C6E042

#C6E042 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.0% C 0.178 H 118.5°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#C6E042
RGBrgb(198, 224, 66)
HSLhsl(70, 72%, 57%)
HSVhsv(70, 71%, 88%)
CMYKcmyk(11.6%, 0%, 70.5%, 12.2%)
CIE-LABlab(84.85, -28.58, 70.23)
CIE-LCHlch(84.85, 75.82, 112.14°)
OKLaboklab(85.96% -0.085 0.1565)
OKLCHoklch(85.96% 0.178 118.5)
XYZxyz(50.9288, 65.7108, 15.1537)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6E042 #5C42E0
analogous
#E0AB42 #C6E042 #77E042
triadic
#C6E042 #42C6E0 #E042C6
tetradic
#C6E042 #42E0AB #5C42E0 #E04277
square
#C6E042 #42E0AB #5C42E0 #E04277
split-complementary
#C6E042 #4277E0 #AB42E0
monochromatic
#7C9018 #AAC520 #C6E042 #D6E977 #E6F1AB

Accessibility & contrast

On white

1.48
#C6E042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#C6E042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6E042
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6E042#FFFFFF#000000##000000
##C6E0421.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD426
Deuteranopia (green-blind)
#ECD54F
Tritanopia (blue-blind)
#D2D4C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c6e042;
/* rgb */ color: rgb(198, 224, 66);
/* oklch */ color: oklch(86.0% 0.178 118.5);
Tailwind
colors: {
  custom: {
    50: '#dbe980',
    500: '#c6e042',
    950: '#000000',
  },
}
SCSS
$custom: #c6e042;
$custom-light: #dbe980;
$custom-dark: #000000;
JSON
{
  "hex": "#c6e042",
  "rgb": {
    "r": 198,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 69.873,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8596,
    "c": 0.1781,
    "h": 118.5
  },
  "luminance": 0.6571
}

Semantic roles & 50–950 ramp

primary
#C6E042
secondary
#423195
accent
#39EF57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C6E042

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

Preview Lab → · Contrast checker → · Palette generator →

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