#C7E258#C7E258

#C7E258 is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.7% C 0.165 H 119.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#C7E258
RGBrgb(199, 226, 88)
HSLhsl(72, 70%, 62%)
HSVhsv(72, 61%, 89%)
CMYKcmyk(11.9%, 0%, 61.1%, 11.4%)
CIE-LABlab(85.62, -27.76, 62.59)
CIE-LCHlch(85.62, 68.47, 113.92°)
OKLaboklab(86.65% -0.0807 0.1436)
OKLCHoklch(86.65% 0.165 119.4)
XYZxyz(52.5118, 67.2397, 19.4428)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E258 #7358E2
analogous
#E2B858 #C7E258 #82E258
triadic
#C7E258 #58C7E2 #E258C7
tetradic
#C7E258 #58E2B8 #7358E2 #E25882
square
#C7E258 #58E2B8 #7358E2 #E25882
split-complementary
#C7E258 #5882E2 #B858E2
monochromatic
#89A31C #B5D725 #C7E258 #D8EB8C #EAF4C0

Accessibility & contrast

On white

1.45
#C7E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#C7E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E258
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E258#FFFFFF#000000##000000
##C7E2581.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D647
Deuteranopia (green-blind)
#ECD761
Tritanopia (blue-blind)
#D2D7C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c7e258;
/* rgb */ color: rgb(199, 226, 88);
/* oklch */ color: oklch(86.7% 0.165 119.4);
Tailwind
colors: {
  custom: {
    50: '#dbeb8d',
    500: '#c7e258',
    950: '#000000',
  },
}
SCSS
$custom: #c7e258;
$custom-light: #dbeb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e258",
  "rgb": {
    "r": 199,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 71.739,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86652,
    "c": 0.1647,
    "h": 119.4
  },
  "luminance": 0.67239
}

Semantic roles & 50–950 ramp

primary
#C7E258
secondary
#4E38A6
accent
#13D239
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7E258

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

Preview Lab → · Contrast checker → · Palette generator →

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