#C7F962#C7F962

#C7F962 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.8% C 0.185 H 125.4°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#C7F962
RGBrgb(199, 249, 98)
HSLhsl(80, 93%, 68%)
HSVhsv(80, 61%, 98%)
CMYKcmyk(20.1%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.03, -37.61, 65.44)
CIE-LCHlch(92.03, 75.48, 119.88°)
OKLaboklab(91.84% -0.1072 0.1508)
OKLCHoklch(91.84% 0.185 125.4)
XYZxyz(59.6337, 80.7746, 24.0022)
Luminance0.8077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F962 #9462F9
analogous
#F9E062 #C7F962 #7BF962
triadic
#C7F962 #62C7F9 #F962C7
tetradic
#C7F962 #62F9E0 #9462F9 #F9627B
square
#C7F962 #62F9E0 #9462F9 #F9627B
split-complementary
#C7F962 #627BF9 #E062F9
monochromatic
#93D808 #B2F727 #C7F962 #DCFB9D #F1FED8

Accessibility & contrast

On white

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

On black

17.15
#C7F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F962
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F962#FFFFFF#000000##000000
##C7F9621.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFE76D
Tritanopia (blue-blind)
#CFEED9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c7f962;
/* rgb */ color: rgb(199, 249, 98);
/* oklch */ color: oklch(91.8% 0.185 125.4);
Tailwind
colors: {
  custom: {
    50: '#dbfb94',
    500: '#c7f962',
    950: '#000000',
  },
}
SCSS
$custom: #c7f962;
$custom-light: #dbfb94;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f962",
  "rgb": {
    "r": 199,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 79.868,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91842,
    "c": 0.18503,
    "h": 125.4
  },
  "luminance": 0.80775
}

Semantic roles & 50–950 ramp

primary
#C7F962
secondary
#642DD2
accent
#00E64C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F962

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

Preview Lab → · Contrast checker → · Palette generator →

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