#C7EA5C#C7EA5C

#C7EA5C is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.5% C 0.171 H 121.7°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#C7EA5C
RGBrgb(199, 234, 92)
HSLhsl(75, 77%, 64%)
HSVhsv(75, 61%, 92%)
CMYKcmyk(15%, 0%, 60.7%, 8.2%)
CIE-LABlab(87.85, -31.22, 63.35)
CIE-LCHlch(87.85, 70.63, 116.23°)
OKLaboklab(88.46% -0.09 0.1457)
OKLCHoklch(88.46% 0.171 121.7)
XYZxyz(54.9084, 71.7604, 21.0816)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EA5C #7F5CEA
analogous
#EAC65C #C7EA5C #80EA5C
triadic
#C7EA5C #5CC7EA #EA5CC7
tetradic
#C7EA5C #5CEAC6 #7F5CEA #EA5C80
square
#C7EA5C #5CEAC6 #7F5CEA #EA5C80
split-complementary
#C7EA5C #5C80EA #C65CEA
monochromatic
#8EB417 #B4E326 #C7EA5C #DAF192 #ECF8C8

Accessibility & contrast

On white

1.37
#C7EA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#C7EA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EA5C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EA5C#FFFFFF#000000##000000
##C7EA5C1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4B
Deuteranopia (green-blind)
#F3DC66
Tritanopia (blue-blind)
#D1DFCC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c7ea5c;
/* rgb */ color: rgb(199, 234, 92);
/* oklch */ color: oklch(88.5% 0.171 121.7);
Tailwind
colors: {
  custom: {
    50: '#dbf090',
    500: '#c7ea5c',
    950: '#000000',
  },
}
SCSS
$custom: #c7ea5c;
$custom-light: #dbf090;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ea5c",
  "rgb": {
    "r": 199,
    "g": 234,
    "b": 92
  },
  "hsl": {
    "h": 74.789,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88456,
    "c": 0.17122,
    "h": 121.7
  },
  "luminance": 0.7176
}

Semantic roles & 50–950 ramp

primary
#C7EA5C
secondary
#5536B4
accent
#0CD93F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7EA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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