#C7E052#C7E052

#C7E052 is a very light, vivid yellow-green. Relative luminance 0.661; OKLCH L 86.2% C 0.167 H 118.6°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#C7E052
RGBrgb(199, 224, 82)
HSLhsl(71, 70%, 60%)
HSVhsv(71, 63%, 88%)
CMYKcmyk(11.2%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.03, -27.23, 64.41)
CIE-LCHlch(85.03, 69.93, 112.92°)
OKLaboklab(86.16% -0.0798 0.1466)
OKLCHoklch(86.16% 0.167 118.6)
XYZxyz(51.7327, 66.0630, 18.0071)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E052 #6B52E0
analogous
#E0B252 #C7E052 #80E052
triadic
#C7E052 #52C7E0 #E052C7
tetradic
#C7E052 #52E0B2 #6B52E0 #E05280
square
#C7E052 #52E0B2 #6B52E0 #E05280
split-complementary
#C7E052 #5280E0 #B252E0
monochromatic
#859C1C #B2D025 #C7E052 #D8E986 #E9F3BA

Accessibility & contrast

On white

1.48
#C7E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#C7E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E052
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E052#FFFFFF#000000##000000
##C7E0521.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#D2D4C3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c7e052;
/* rgb */ color: rgb(199, 224, 82);
/* oklch */ color: oklch(86.2% 0.167 118.6);
Tailwind
colors: {
  custom: {
    50: '#dbe989',
    500: '#c7e052',
    950: '#000000',
  },
}
SCSS
$custom: #c7e052;
$custom-light: #dbe989;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e052",
  "rgb": {
    "r": 199,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 70.563,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.86158,
    "c": 0.16693,
    "h": 118.6
  },
  "luminance": 0.66063
}

Semantic roles & 50–950 ramp

primary
#C7E052
secondary
#49379F
accent
#3BEC5B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E052

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

Preview Lab → · Contrast checker → · Palette generator →

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