#C7F462#C7F462

#C7F462 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.7% C 0.179 H 124.4°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#C7F462
RGBrgb(199, 244, 98)
HSLhsl(78, 87%, 67%)
HSVhsv(78, 60%, 96%)
CMYKcmyk(18.4%, 0%, 59.8%, 4.3%)
CIE-LABlab(90.65, -35.35, 63.93)
CIE-LCHlch(90.65, 73.05, 118.94°)
OKLaboklab(90.73% -0.101 0.1476)
OKLCHoklch(90.73% 0.179 124.4)
XYZxyz(58.1088, 77.7249, 23.4939)
Luminance0.7772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F462 #8F62F4
analogous
#F4D862 #C7F462 #7EF462
triadic
#C7F462 #62C7F4 #F462C7
tetradic
#C7F462 #62F4D8 #8F62F4 #F4627E
square
#C7F462 #62F4D8 #8F62F4 #F4627E
split-complementary
#C7F462 #627EF4 #D862F4
monochromatic
#92CD0E #B3F029 #C7F462 #DBF89B #F0FCD4

Accessibility & contrast

On white

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

On black

16.54
#C7F462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F462
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F462#FFFFFF#000000##000000
##C7F4621.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#CFE9D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c7f462;
/* rgb */ color: rgb(199, 244, 98);
/* oklch */ color: oklch(90.7% 0.179 124.4);
Tailwind
colors: {
  custom: {
    50: '#dbf894',
    500: '#c7f462',
    950: '#000000',
  },
}
SCSS
$custom: #c7f462;
$custom-light: #dbf894;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f462",
  "rgb": {
    "r": 199,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 78.493,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.9073,
    "c": 0.17882,
    "h": 124.4
  },
  "luminance": 0.77725
}

Semantic roles & 50–950 ramp

primary
#C7F462
secondary
#6031C9
accent
#02E348
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F462

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

Preview Lab → · Contrast checker → · Palette generator →

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