#C7F251#C7F251

#C7F251 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.1% C 0.189 H 123.1°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#C7F251
RGBrgb(199, 242, 81)
HSLhsl(76, 86%, 63%)
HSVhsv(76, 67%, 95%)
CMYKcmyk(17.8%, 0%, 66.5%, 5.1%)
CIE-LABlab(89.97, -35.64, 69.96)
CIE-LCHlch(89.97, 78.52, 117.00°)
OKLaboklab(90.14% -0.1032 0.1582)
OKLCHoklch(90.14% 0.189 123.1)
XYZxyz(56.7911, 76.2402, 19.5069)
Luminance0.7624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F251 #7C51F2
analogous
#F2CC51 #C7F251 #76F251
triadic
#C7F251 #51C7F2 #F251C7
tetradic
#C7F251 #51F2CC #7C51F2 #F25176
square
#C7F251 #51F2CC #7C51F2 #F25176
split-complementary
#C7F251 #5176F2 #CC51F2
monochromatic
#8DBB0E #B5EE18 #C7F251 #D9F68A #ECFBC3

Accessibility & contrast

On white

1.29
#C7F251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#C7F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F251
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F251#FFFFFF#000000##000000
##C7F2511.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#FAE25E
Tritanopia (blue-blind)
#D1E6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f251;
/* rgb */ color: rgb(199, 242, 81);
/* oklch */ color: oklch(90.1% 0.189 123.1);
Tailwind
colors: {
  custom: {
    50: '#dbf68a',
    500: '#c7f251',
    950: '#000000',
  },
}
SCSS
$custom: #c7f251;
$custom-light: #dbf68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f251",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 76.025,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90136,
    "c": 0.18888,
    "h": 123.1
  },
  "luminance": 0.7624
}

Semantic roles & 50–950 ramp

primary
#C7F251
secondary
#532EB9
accent
#03E33F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C7F251

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

Preview Lab → · Contrast checker → · Palette generator →

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