#C0F257#C0F257

#C0F257 is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.7% C 0.188 H 125.3°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#C0F257
RGBrgb(192, 242, 87)
HSLhsl(79, 86%, 65%)
HSVhsv(79, 64%, 95%)
CMYKcmyk(20.7%, 0%, 64%, 5.1%)
CIE-LABlab(89.58, -37.89, 67.11)
CIE-LCHlch(89.58, 77.07, 119.45°)
OKLaboklab(89.72% -0.1086 0.1531)
OKLCHoklch(89.72% 0.188 125.3)
XYZxyz(55.2109, 75.3982, 20.6596)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0F257 #8957F2
analogous
#F2D757 #C0F257 #73F257
triadic
#C0F257 #57C0F2 #F257C0
tetradic
#C0F257 #57F2D7 #8957F2 #F25773
square
#C0F257 #57F2D7 #8957F2 #F25773
split-complementary
#C0F257 #5773F2 #D757F2
monochromatic
#87C00F #ABEE1E #C0F257 #D5F690 #EBFBC9

Accessibility & contrast

On white

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

On black

16.08
#C0F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0F257
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0F257#FFFFFF#000000##000000
##C0F2571.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE343
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#C8E7D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c0f257;
/* rgb */ color: rgb(192, 242, 87);
/* oklch */ color: oklch(89.7% 0.188 125.3);
Tailwind
colors: {
  custom: {
    50: '#d6f68d',
    500: '#c0f257',
    950: '#000000',
  },
}
SCSS
$custom: #c0f257;
$custom-light: #d6f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0f257",
  "rgb": {
    "r": 192,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 79.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89722,
    "c": 0.18767,
    "h": 125.3
  },
  "luminance": 0.75399
}

Semantic roles & 50–950 ramp

primary
#C0F257
secondary
#5D30BE
accent
#03E24B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C0F257

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

Preview Lab → · Contrast checker → · Palette generator →

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