#C7F978#C7F978

#C7F978 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.1% C 0.166 H 127.0°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#C7F978
RGBrgb(199, 249, 120)
HSLhsl(83, 91%, 72%)
HSVhsv(83, 52%, 98%)
CMYKcmyk(20.1%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.24, -35.70, 56.13)
CIE-LCHlch(92.24, 66.52, 122.46°)
OKLaboklab(92.08% -0.1001 0.133)
OKLCHoklch(92.08% 0.166 127)
XYZxyz(60.8188, 81.2487, 30.2440)
Luminance0.8125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F978 #AA78F9
analogous
#F9EB78 #C7F978 #87F978
triadic
#C7F978 #78C7F9 #F978C7
tetradic
#C7F978 #78F9EB #AA78F9 #F97887
square
#C7F978 #78F9EB #AA78F9 #F97887
split-complementary
#C7F978 #7887F9 #EB78F9
monochromatic
#95EC0A #AFF63D #C7F978 #DFFCB3 #F3FEE2

Accessibility & contrast

On white

1.22
#C7F978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#C7F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F978
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F978#FFFFFF#000000##000000
##C7F9781.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#CDEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c7f978;
/* rgb */ color: rgb(199, 249, 120);
/* oklch */ color: oklch(92.1% 0.166 127.0);
Tailwind
colors: {
  custom: {
    50: '#dafba2',
    500: '#c7f978',
    950: '#000000',
  },
}
SCSS
$custom: #c7f978;
$custom-light: #dafba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f978",
  "rgb": {
    "r": 199,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 83.256,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92081,
    "c": 0.1664,
    "h": 127
  },
  "luminance": 0.8125
}

Semantic roles & 50–950 ramp

primary
#C7F978
secondary
#7A40D5
accent
#00E659
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C7F978

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

Preview Lab → · Contrast checker → · Palette generator →

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