#C7F162#C7F162

#C7F162 is a very light, vivid yellow-green. Relative luminance 0.759; OKLCH L 90.1% C 0.175 H 123.7°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#C7F162
RGBrgb(199, 241, 98)
HSLhsl(78, 84%, 66%)
HSVhsv(78, 59%, 95%)
CMYKcmyk(17.4%, 0%, 59.3%, 5.5%)
CIE-LABlab(89.83, -33.99, 63.02)
CIE-LCHlch(89.83, 71.60, 118.34°)
OKLaboklab(90.07% -0.0972 0.1456)
OKLCHoklch(90.07% 0.175 123.7)
XYZxyz(57.2134, 75.9342, 23.1955)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F162 #8C62F1
analogous
#F1D362 #C7F162 #80F162
triadic
#C7F162 #62C7F1 #F162C7
tetradic
#C7F162 #62F1D3 #8C62F1 #F16280
square
#C7F162 #62F1D3 #8C62F1 #F16280
split-complementary
#C7F162 #6280F1 #D362F1
monochromatic
#92C712 #B3EC2A #C7F162 #DBF69A #EFFBD2

Accessibility & contrast

On white

1.30
#C7F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#C7F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F162
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F162#FFFFFF#000000##000000
##C7F1621.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE352
Deuteranopia (green-blind)
#F8E26C
Tritanopia (blue-blind)
#D0E6D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f162;
/* rgb */ color: rgb(199, 241, 98);
/* oklch */ color: oklch(90.1% 0.175 123.7);
Tailwind
colors: {
  custom: {
    50: '#dbf594',
    500: '#c7f162',
    950: '#000000',
  },
}
SCSS
$custom: #c7f162;
$custom-light: #dbf594;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f162",
  "rgb": {
    "r": 199,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 77.622,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90065,
    "c": 0.17507,
    "h": 123.7
  },
  "luminance": 0.75935
}

Semantic roles & 50–950 ramp

primary
#C7F162
secondary
#5E33C4
accent
#05E046
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F162

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

Preview Lab → · Contrast checker → · Palette generator →

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