#C7EA42#C7EA42

#C7EA42 is a very light, vivid yellow-green. Relative luminance 0.714; OKLCH L 88.3% C 0.189 H 120.8°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#C7EA42
RGBrgb(199, 234, 66)
HSLhsl(73, 80%, 59%)
HSVhsv(73, 72%, 92%)
CMYKcmyk(15%, 0%, 71.8%, 8.2%)
CIE-LABlab(87.67, -32.84, 73.01)
CIE-LCHlch(87.67, 80.05, 114.22°)
OKLaboklab(88.25% -0.0968 0.1623)
OKLCHoklch(88.25% 0.189 120.8)
XYZxyz(53.9603, 71.3812, 16.0884)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EA42 #6542EA
analogous
#EAB942 #C7EA42 #73EA42
triadic
#C7EA42 #42C7EA #EA42C7
tetradic
#C7EA42 #42EAB9 #6542EA #EA4273
square
#C7EA42 #42EAB9 #6542EA #EA4273
split-complementary
#C7EA42 #4273EA #B942EA
monochromatic
#82A012 #AFD718 #C7EA42 #D7F079 #E8F6B0

Accessibility & contrast

On white

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

On black

15.28
#C7EA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EA42
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EA42#FFFFFF#000000##000000
##C7EA421.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC21
Deuteranopia (green-blind)
#F4DC51
Tritanopia (blue-blind)
#D2DECA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c7ea42;
/* rgb */ color: rgb(199, 234, 66);
/* oklch */ color: oklch(88.3% 0.189 120.8);
Tailwind
colors: {
  custom: {
    50: '#dcf081',
    500: '#c7ea42',
    950: '#000000',
  },
}
SCSS
$custom: #c7ea42;
$custom-light: #dcf081;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ea42",
  "rgb": {
    "r": 199,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 72.5,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8825,
    "c": 0.18899,
    "h": 120.8
  },
  "luminance": 0.71381
}

Semantic roles & 50–950 ramp

primary
#C7EA42
secondary
#462EA2
accent
#31F65A
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C7EA42

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

Preview Lab → · Contrast checker → · Palette generator →

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