#C7F381#C7F381

#C7F381 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.9% C 0.150 H 126.5°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#C7F381
RGBrgb(199, 243, 129)
HSLhsl(83, 83%, 73%)
HSVhsv(83, 47%, 95%)
CMYKcmyk(18.1%, 0%, 46.9%, 4.7%)
CIE-LABlab(90.70, -32.04, 50.10)
CIE-LCHlch(90.70, 59.47, 122.60°)
OKLaboklab(90.87% -0.0892 0.1203)
OKLCHoklch(90.87% 0.15 126.5)
XYZxyz(59.5659, 77.8276, 32.6487)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F381 #AD81F3
analogous
#F3E681 #C7F381 #8EF381
triadic
#C7F381 #81C7F3 #F381C7
tetradic
#C7F381 #81F3E6 #AD81F3 #F3818E
square
#C7F381 #81F3E6 #AD81F3 #F3818E
split-complementary
#C7F381 #818EF3 #E681F3
monochromatic
#94E416 #AEEE49 #C7F381 #E0F8B9 #F3FCE3

Accessibility & contrast

On white

1.27
#C7F381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#C7F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F381
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F381#FFFFFF#000000##000000
##C7F3811.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F7E488
Tritanopia (blue-blind)
#CDEAD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c7f381;
/* rgb */ color: rgb(199, 243, 129);
/* oklch */ color: oklch(90.9% 0.150 126.5);
Tailwind
colors: {
  custom: {
    50: '#daf7a8',
    500: '#c7f381',
    950: '#000000',
  },
}
SCSS
$custom: #c7f381;
$custom-light: #daf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f381",
  "rgb": {
    "r": 199,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 83.158,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90872,
    "c": 0.14976,
    "h": 126.5
  },
  "luminance": 0.77828
}

Semantic roles & 50–950 ramp

primary
#C7F381
secondary
#7D4ACF
accent
#06DF5A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #C7F381

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

Preview Lab → · Contrast checker → · Palette generator →

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