#C6E257#C6E257

#C6E257 is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.6% C 0.166 H 119.7°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#C6E257
RGBrgb(198, 226, 87)
HSLhsl(72, 71%, 61%)
HSVhsv(72, 62%, 89%)
CMYKcmyk(12.4%, 0%, 61.5%, 11.4%)
CIE-LABlab(85.55, -28.23, 62.90)
CIE-LCHlch(85.55, 68.95, 114.17°)
OKLaboklab(86.57% -0.0821 0.1441)
OKLCHoklch(86.57% 0.166 119.7)
XYZxyz(52.2061, 67.0868, 19.2138)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6E257 #7357E2
analogous
#E2B857 #C6E257 #81E257
triadic
#C6E257 #57C6E2 #E257C6
tetradic
#C6E257 #57E2B8 #7357E2 #E25781
square
#C6E257 #57E2B8 #7357E2 #E25781
split-complementary
#C6E257 #5781E2 #B857E2
monochromatic
#87A31C #B3D725 #C6E257 #D8EB8B #E9F4BF

Accessibility & contrast

On white

1.46
#C6E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#C6E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6E257
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6E257#FFFFFF#000000##000000
##C6E2571.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD646
Deuteranopia (green-blind)
#ECD661
Tritanopia (blue-blind)
#D0D7C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c6e257;
/* rgb */ color: rgb(198, 226, 87);
/* oklch */ color: oklch(86.6% 0.166 119.7);
Tailwind
colors: {
  custom: {
    50: '#daeb8c',
    500: '#c6e257',
    950: '#000000',
  },
}
SCSS
$custom: #c6e257;
$custom-light: #daeb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6e257",
  "rgb": {
    "r": 198,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 72.086,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8657,
    "c": 0.16583,
    "h": 119.7
  },
  "luminance": 0.67087
}

Semantic roles & 50–950 ramp

primary
#C6E257
secondary
#4E38A5
accent
#13D33A
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C6E257

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

Preview Lab → · Contrast checker → · Palette generator →

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