#C7E45F#C7E45F

#C7E45F is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 87.2% C 0.161 H 120.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#C7E45F
RGBrgb(199, 228, 95)
HSLhsl(73, 71%, 63%)
HSVhsv(73, 58%, 89%)
CMYKcmyk(12.7%, 0%, 58.3%, 10.6%)
CIE-LABlab(86.23, -28.18, 60.30)
CIE-LCHlch(86.23, 66.56, 115.05°)
OKLaboklab(87.16% -0.0812 0.1395)
OKLCHoklch(87.16% 0.161 120.2)
XYZxyz(53.3628, 68.4553, 21.2262)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E45F #7C5FE4
analogous
#E4BF5F #C7E45F #84E45F
triadic
#C7E45F #5FC7E4 #E45FC7
tetradic
#C7E45F #5FE4BF #7C5FE4 #E45F84
square
#C7E45F #5FE4BF #7C5FE4 #E45F84
split-complementary
#C7E45F #5F84E4 #BF5FE4
monochromatic
#8DAC1D #B5DB2B #C7E45F #D9ED93 #ECF6C8

Accessibility & contrast

On white

1.43
#C7E45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#C7E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E45F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E45F#FFFFFF#000000##000000
##C7E45F1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D850
Deuteranopia (green-blind)
#EED868
Tritanopia (blue-blind)
#D1D9C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c7e45f;
/* rgb */ color: rgb(199, 228, 95);
/* oklch */ color: oklch(87.2% 0.161 120.2);
Tailwind
colors: {
  custom: {
    50: '#dbec91',
    500: '#c7e45f',
    950: '#000000',
  },
}
SCSS
$custom: #c7e45f;
$custom-light: #dbec91;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e45f",
  "rgb": {
    "r": 199,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 73.083,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87161,
    "c": 0.16145,
    "h": 120.2
  },
  "luminance": 0.68455
}

Semantic roles & 50–950 ramp

primary
#C7E45F
secondary
#533AAD
accent
#12D33C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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