#C7F062#C7F062

#C7F062 is a very light, vivid yellow-green. Relative luminance 0.753; OKLCH L 89.8% C 0.174 H 123.5°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#C7F062
RGBrgb(199, 240, 98)
HSLhsl(77, 83%, 66%)
HSVhsv(77, 59%, 94%)
CMYKcmyk(17.1%, 0%, 59.2%, 5.9%)
CIE-LABlab(89.55, -33.53, 62.71)
CIE-LCHlch(89.55, 71.11, 118.13°)
OKLaboklab(89.84% -0.0959 0.145)
OKLCHoklch(89.84% 0.174 123.5)
XYZxyz(56.9183, 75.3438, 23.0971)
Luminance0.7534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F062 #8B62F0
analogous
#F0D262 #C7F062 #80F062
triadic
#C7F062 #62C7F0 #F062C7
tetradic
#C7F062 #62F0D2 #8B62F0 #F06280
square
#C7F062 #62F0D2 #8B62F0 #F06280
split-complementary
#C7F062 #6280F0 #D262F0
monochromatic
#91C513 #B3EB2A #C7F062 #DBF59A #EFFBD2

Accessibility & contrast

On white

1.31
#C7F062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#C7F062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F062
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F062#FFFFFF#000000##000000
##C7F0621.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE252
Deuteranopia (green-blind)
#F7E16C
Tritanopia (blue-blind)
#D0E5D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c7f062;
/* rgb */ color: rgb(199, 240, 98);
/* oklch */ color: oklch(89.8% 0.174 123.5);
Tailwind
colors: {
  custom: {
    50: '#dbf594',
    500: '#c7f062',
    950: '#000000',
  },
}
SCSS
$custom: #c7f062;
$custom-light: #dbf594;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f062",
  "rgb": {
    "r": 199,
    "g": 240,
    "b": 98
  },
  "hsl": {
    "h": 77.324,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89843,
    "c": 0.17383,
    "h": 123.5
  },
  "luminance": 0.75344
}

Semantic roles & 50–950 ramp

primary
#C7F062
secondary
#5D34C2
accent
#07DF45
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F062

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

Preview Lab → · Contrast checker → · Palette generator →

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