#C7E381#C7E381

#C7E381 is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 87.4% C 0.128 H 122.1°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#C7E381
RGBrgb(199, 227, 129)
HSLhsl(77, 64%, 70%)
HSVhsv(77, 43%, 89%)
CMYKcmyk(12.3%, 0%, 43.2%, 11%)
CIE-LABlab(86.34, -24.49, 44.70)
CIE-LCHlch(86.34, 50.97, 118.72°)
OKLaboklab(87.37% -0.068 0.1083)
OKLCHoklch(87.37% 0.128 122.1)
XYZxyz(54.9847, 68.6652, 31.1216)
Luminance0.6866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E381 #9D81E3
analogous
#E3CE81 #C7E381 #96E381
triadic
#C7E381 #81C7E3 #E381C7
tetradic
#C7E381 #81E3CE #9D81E3 #E38196
square
#C7E381 #81E3CE #9D81E3 #E38196
split-complementary
#C7E381 #8196E3 #CE81E3
monochromatic
#95BF2A #B1D84F #C7E381 #DDEEB3 #F4F9E5

Accessibility & contrast

On white

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

On black

14.73
#C7E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E381
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E381#FFFFFF#000000##000000
##C7E3811.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD979
Deuteranopia (green-blind)
#EAD886
Tritanopia (blue-blind)
#CEDACB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c7e381;
/* rgb */ color: rgb(199, 227, 129);
/* oklch */ color: oklch(87.4% 0.128 122.1);
Tailwind
colors: {
  custom: {
    50: '#d9eba7',
    500: '#c7e381',
    950: '#000000',
  },
}
SCSS
$custom: #c7e381;
$custom-light: #d9eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e381",
  "rgb": {
    "r": 199,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 77.143,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87367,
    "c": 0.12783,
    "h": 122.1
  },
  "luminance": 0.68665
}

Semantic roles & 50–950 ramp

primary
#C7E381
secondary
#6D4DBB
accent
#1ACB4D
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#151610
muted
#848480

Preview Lab

Preview with #C7E381

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

Preview Lab → · Contrast checker → · Palette generator →

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