#C6EC4F#C6EC4F

#C6EC4F is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 88.7% C 0.184 H 122.0°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#C6EC4F
RGBrgb(198, 236, 79)
HSLhsl(75, 81%, 62%)
HSVhsv(75, 67%, 93%)
CMYKcmyk(16.1%, 0%, 66.5%, 7.5%)
CIE-LABlab(88.24, -33.41, 68.91)
CIE-LCHlch(88.24, 76.58, 115.87°)
OKLaboklab(88.72% -0.0972 0.1557)
OKLCHoklch(88.72% 0.184 122)
XYZxyz(54.6961, 72.5611, 18.5198)
Luminance0.7256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6EC4F #754FEC
analogous
#ECC34F #C6EC4F #78EC4F
triadic
#C6EC4F #4FC6EC #EC4FC6
tetradic
#C6EC4F #4FECC3 #754FEC #EC4F78
square
#C6EC4F #4FECC3 #754FEC #EC4F78
split-complementary
#C6EC4F #4F78EC #C34FEC
monochromatic
#88AE13 #B4E519 #C6EC4F #D8F286 #EAF8BD

Accessibility & contrast

On white

1.35
#C6EC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#C6EC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6EC4F
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6EC4F#FFFFFF#000000##000000
##C6EC4F1.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE38
Deuteranopia (green-blind)
#F5DD5B
Tritanopia (blue-blind)
#D0E0CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c6ec4f;
/* rgb */ color: rgb(198, 236, 79);
/* oklch */ color: oklch(88.7% 0.184 122.0);
Tailwind
colors: {
  custom: {
    50: '#dbf288',
    500: '#c6ec4f',
    950: '#000000',
  },
}
SCSS
$custom: #c6ec4f;
$custom-light: #dbf288;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ec4f",
  "rgb": {
    "r": 198,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 74.522,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88717,
    "c": 0.18354,
    "h": 122
  },
  "luminance": 0.72561
}

Semantic roles & 50–950 ramp

primary
#C6EC4F
secondary
#4F31AE
accent
#09DD3C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C6EC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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