#C7E752#C7E752

#C7E752 is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.7% C 0.175 H 120.5°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#C7E752
RGBrgb(199, 231, 82)
HSLhsl(73, 76%, 61%)
HSVhsv(73, 65%, 91%)
CMYKcmyk(13.9%, 0%, 64.5%, 9.4%)
CIE-LABlab(86.95, -30.52, 66.43)
CIE-LCHlch(86.95, 73.11, 114.68°)
OKLaboklab(87.7% -0.089 0.1509)
OKLCHoklch(87.7% 0.175 120.5)
XYZxyz(53.6529, 69.9033, 18.6472)
Luminance0.6990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E752 #7252E7
analogous
#E7BD52 #C7E752 #7DE752
triadic
#C7E752 #52C7E7 #E752C7
tetradic
#C7E752 #52E7BD #7252E7 #E7527D
square
#C7E752 #52E7BD #7252E7 #E7527D
split-complementary
#C7E752 #527DE7 #BD52E7
monochromatic
#88A717 #B4DD1F #C7E752 #D8EE88 #EAF6BD

Accessibility & contrast

On white

1.40
#C7E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#C7E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E752
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E752#FFFFFF#000000##000000
##C7E7521.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3E
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#D1DBC8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c7e752;
/* rgb */ color: rgb(199, 231, 82);
/* oklch */ color: oklch(87.7% 0.175 120.5);
Tailwind
colors: {
  custom: {
    50: '#dbee8a',
    500: '#c7e752',
    950: '#000000',
  },
}
SCSS
$custom: #c7e752;
$custom-light: #dbee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e752",
  "rgb": {
    "r": 199,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 72.886,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87703,
    "c": 0.17516,
    "h": 120.5
  },
  "luminance": 0.69903
}

Semantic roles & 50–950 ramp

primary
#C7E752
secondary
#4D34A9
accent
#0ED839
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C7E752

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

Preview Lab → · Contrast checker → · Palette generator →

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