#C0F45F#C0F45F

#C0F45F is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.2% C 0.184 H 126.2°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#C0F45F
RGBrgb(192, 244, 95)
HSLhsl(81, 87%, 66%)
HSVhsv(81, 61%, 96%)
CMYKcmyk(21.3%, 0%, 61.1%, 4.3%)
CIE-LABlab(90.20, -38.20, 64.55)
CIE-LCHlch(90.20, 75.01, 120.62°)
OKLaboklab(90.24% -0.1087 0.1487)
OKLCHoklch(90.24% 0.184 126.2)
XYZxyz(56.1546, 76.7333, 22.6768)
Luminance0.7673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0F45F #935FF4
analogous
#F4DE5F #C0F45F #76F45F
triadic
#C0F45F #5FC0F4 #F45FC0
tetradic
#C0F45F #5FF4DE #935FF4 #F45F76
square
#C0F45F #5FF4DE #935FF4 #F45F76
split-complementary
#C0F45F #5F76F4 #DE5FF4
monochromatic
#89CB0E #A9F026 #C0F45F #D7F898 #EDFCD2

Accessibility & contrast

On white

1.28
#C0F45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#C0F45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0F45F
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0F45F#FFFFFF#000000##000000
##C0F45F1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54D
Deuteranopia (green-blind)
#F9E26A
Tritanopia (blue-blind)
#C7E9D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c0f45f;
/* rgb */ color: rgb(192, 244, 95);
/* oklch */ color: oklch(90.2% 0.184 126.2);
Tailwind
colors: {
  custom: {
    50: '#d6f892',
    500: '#c0f45f',
    950: '#000000',
  },
}
SCSS
$custom: #c0f45f;
$custom-light: #d6f892;
$custom-dark: #000000;
JSON
{
  "hex": "#c0f45f",
  "rgb": {
    "r": 192,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 80.94,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90244,
    "c": 0.18418,
    "h": 126.2
  },
  "luminance": 0.76734
}

Semantic roles & 50–950 ramp

primary
#C0F45F
secondary
#6530C7
accent
#02E451
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C0F45F

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

Preview Lab → · Contrast checker → · Palette generator →

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