#C7E340#C7E340

#C7E340 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.7% C 0.182 H 119.0°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#C7E340
RGBrgb(199, 227, 64)
HSLhsl(70, 74%, 57%)
HSVhsv(70, 72%, 89%)
CMYKcmyk(12.3%, 0%, 71.8%, 11%)
CIE-LABlab(85.73, -29.69, 71.80)
CIE-LCHlch(85.73, 77.70, 112.47°)
OKLaboklab(86.68% -0.0883 0.1595)
OKLCHoklch(86.68% 0.182 119)
XYZxyz(51.9488, 67.4508, 15.1321)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E340 #5C40E3
analogous
#E3AE40 #C7E340 #75E340
triadic
#C7E340 #40C7E3 #E340C7
tetradic
#C7E340 #40E3AE #5C40E3 #E34075
square
#C7E340 #40E3AE #5C40E3 #E34075
split-complementary
#C7E340 #4075E3 #AE40E3
monochromatic
#7D9316 #ABC81D #C7E340 #D7EB75 #E6F3AB

Accessibility & contrast

On white

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

On black

14.49
#C7E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E340
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E340#FFFFFF#000000##000000
##C7E3401.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D620
Deuteranopia (green-blind)
#EFD74E
Tritanopia (blue-blind)
#D3D7C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c7e340;
/* rgb */ color: rgb(199, 227, 64);
/* oklch */ color: oklch(86.7% 0.182 119.0);
Tailwind
colors: {
  custom: {
    50: '#dceb80',
    500: '#c7e340',
    950: '#000000',
  },
}
SCSS
$custom: #c7e340;
$custom-light: #dceb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e340",
  "rgb": {
    "r": 199,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 70.307,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86684,
    "c": 0.18228,
    "h": 119
  },
  "luminance": 0.6745
}

Semantic roles & 50–950 ramp

primary
#C7E340
secondary
#423097
accent
#37F157
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7E340

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

Preview Lab → · Contrast checker → · Palette generator →

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