#C7E45A#C7E45A

#C7E45A is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 87.1% C 0.166 H 120.0°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#C7E45A
RGBrgb(199, 228, 90)
HSLhsl(73, 72%, 62%)
HSVhsv(73, 61%, 89%)
CMYKcmyk(12.7%, 0%, 60.5%, 10.6%)
CIE-LABlab(86.19, -28.56, 62.37)
CIE-LCHlch(86.19, 68.60, 114.60°)
OKLaboklab(87.11% -0.0828 0.1433)
OKLCHoklch(87.11% 0.166 120)
XYZxyz(53.1428, 68.3673, 20.0675)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E45A #775AE4
analogous
#E4BC5A #C7E45A #82E45A
triadic
#C7E45A #5AC7E4 #E45AC7
tetradic
#C7E45A #5AE4BC #775AE4 #E45A82
square
#C7E45A #5AE4BC #775AE4 #E45A82
split-complementary
#C7E45A #5A82E4 #BC5AE4
monochromatic
#8BA81C #B5DB25 #C7E45A #D9ED8F #EBF5C3

Accessibility & contrast

On white

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

On black

14.67
#C7E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E45A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E45A#FFFFFF#000000##000000
##C7E45A1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7e45a;
/* rgb */ color: rgb(199, 228, 90);
/* oklch */ color: oklch(87.1% 0.166 120.0);
Tailwind
colors: {
  custom: {
    50: '#dbec8e',
    500: '#c7e45a',
    950: '#000000',
  },
}
SCSS
$custom: #c7e45a;
$custom-light: #dbec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e45a",
  "rgb": {
    "r": 199,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 72.609,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87112,
    "c": 0.16553,
    "h": 120
  },
  "luminance": 0.68367
}

Semantic roles & 50–950 ramp

primary
#C7E45A
secondary
#5038AA
accent
#12D43A
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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