#C7E254#C7E254

#C7E254 is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.6% C 0.168 H 119.2°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#C7E254
RGBrgb(199, 226, 84)
HSLhsl(71, 71%, 61%)
HSVhsv(71, 63%, 89%)
CMYKcmyk(11.9%, 0%, 62.8%, 11.4%)
CIE-LABlab(85.59, -28.04, 64.20)
CIE-LCHlch(85.59, 70.06, 113.60°)
OKLaboklab(86.62% -0.0819 0.1464)
OKLCHoklch(86.62% 0.168 119.2)
XYZxyz(52.3506, 67.1752, 18.5940)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E254 #6F54E2
analogous
#E2B654 #C7E254 #80E254
triadic
#C7E254 #54C7E2 #E254C7
tetradic
#C7E254 #54E2B6 #6F54E2 #E25480
square
#C7E254 #54E2B6 #6F54E2 #E25480
split-complementary
#C7E254 #5480E2 #B654E2
monochromatic
#87A01B #B3D524 #C7E254 #D8EB88 #E9F4BD

Accessibility & contrast

On white

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

On black

14.43
#C7E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E254
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E254#FFFFFF#000000##000000
##C7E2541.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7e254;
/* rgb */ color: rgb(199, 226, 84);
/* oklch */ color: oklch(86.6% 0.168 119.2);
Tailwind
colors: {
  custom: {
    50: '#dbeb8a',
    500: '#c7e254',
    950: '#000000',
  },
}
SCSS
$custom: #c7e254;
$custom-light: #dbeb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e254",
  "rgb": {
    "r": 199,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 71.408,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86616,
    "c": 0.16778,
    "h": 119.2
  },
  "luminance": 0.67175
}

Semantic roles & 50–950 ramp

primary
#C7E254
secondary
#4B37A3
accent
#12D337
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E254

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

Preview Lab → · Contrast checker → · Palette generator →

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