#C7E742#C7E742

#C7E742 is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.6% C 0.186 H 120.1°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#C7E742
RGBrgb(199, 231, 66)
HSLhsl(72, 77%, 58%)
HSVhsv(72, 71%, 91%)
CMYKcmyk(13.9%, 0%, 71.4%, 9.4%)
CIE-LABlab(86.84, -31.45, 72.20)
CIE-LCHlch(86.84, 78.76, 113.54°)
OKLaboklab(87.58% -0.093 0.1606)
OKLCHoklch(87.58% 0.186 120.1)
XYZxyz(53.1134, 69.6875, 15.8062)
Luminance0.6969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E742 #6242E7
analogous
#E7B442 #C7E742 #74E742
triadic
#C7E742 #42C7E7 #E742C7
tetradic
#C7E742 #42E7B4 #6242E7 #E74274
square
#C7E742 #42E7B4 #6242E7 #E74274
split-complementary
#C7E742 #4274E7 #B442E7
monochromatic
#819B14 #AED11B #C7E742 #D7EE78 #E7F5AF

Accessibility & contrast

On white

1.41
#C7E742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#C7E742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E742
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E742#FFFFFF#000000##000000
##C7E7421.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA23
Deuteranopia (green-blind)
#F2DA50
Tritanopia (blue-blind)
#D2DBC7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #c7e742;
/* rgb */ color: rgb(199, 231, 66);
/* oklch */ color: oklch(87.6% 0.186 120.1);
Tailwind
colors: {
  custom: {
    50: '#dcee81',
    500: '#c7e742',
    950: '#000000',
  },
}
SCSS
$custom: #c7e742;
$custom-light: #dcee81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e742",
  "rgb": {
    "r": 199,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 71.636,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87583,
    "c": 0.1856,
    "h": 120.1
  },
  "luminance": 0.69687
}

Semantic roles & 50–950 ramp

primary
#C7E742
secondary
#452F9E
accent
#34F459
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C7E742

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

Preview Lab → · Contrast checker → · Palette generator →

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