#C0F258#C0F258

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

Color values

HEX#C0F258
RGBrgb(192, 242, 88)
HSLhsl(79, 86%, 65%)
HSVhsv(79, 64%, 95%)
CMYKcmyk(20.7%, 0%, 63.6%, 5.1%)
CIE-LABlab(89.59, -37.82, 66.72)
CIE-LCHlch(89.59, 76.70, 119.55°)
OKLaboklab(89.73% -0.1083 0.1524)
OKLCHoklch(89.73% 0.187 125.4)
XYZxyz(55.2521, 75.4147, 20.8762)
Luminance0.7541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0F258 #8A58F2
analogous
#F2D758 #C0F258 #73F258
triadic
#C0F258 #58C0F2 #F258C0
tetradic
#C0F258 #58F2D7 #8A58F2 #F25873
square
#C0F258 #58F2D7 #8A58F2 #F25873
split-complementary
#C0F258 #5873F2 #D758F2
monochromatic
#87C10F #ABEE1F #C0F258 #D5F691 #EBFBCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0F258#FFFFFF#000000##000000
##C0F2581.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)
#FEE344
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#C8E7D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c0f258;
/* rgb */ color: rgb(192, 242, 88);
/* oklch */ color: oklch(89.7% 0.187 125.4);
Tailwind
colors: {
  custom: {
    50: '#d6f68e',
    500: '#c0f258',
    950: '#000000',
  },
}
SCSS
$custom: #c0f258;
$custom-light: #d6f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0f258",
  "rgb": {
    "r": 192,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 79.481,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89731,
    "c": 0.18695,
    "h": 125.4
  },
  "luminance": 0.75415
}

Semantic roles & 50–950 ramp

primary
#C0F258
secondary
#5E30BE
accent
#03E24C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C0F258

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

Preview Lab → · Contrast checker → · Palette generator →

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