#C0F271#C0F271

#C0F271 is a very light, vivid yellow-green. Relative luminance 0.759; OKLCH L 90.0% C 0.167 H 127.1°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#C0F271
RGBrgb(192, 242, 113)
HSLhsl(83, 83%, 70%)
HSVhsv(83, 53%, 95%)
CMYKcmyk(20.7%, 0%, 53.3%, 5.1%)
CIE-LABlab(89.81, -35.76, 56.33)
CIE-LCHlch(89.81, 66.72, 122.41°)
OKLaboklab(89.99% -0.1004 0.1329)
OKLCHoklch(89.99% 0.167 127.1)
XYZxyz(56.4708, 75.9022, 27.2950)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0F271 #A371F2
analogous
#F2E471 #C0F271 #80F271
triadic
#C0F271 #71C0F2 #F271C0
tetradic
#C0F271 #71F2E4 #A371F2 #F27180
square
#C0F271 #71F2E4 #A371F2 #F27180
split-complementary
#C0F271 #7180F2 #E471F2
monochromatic
#8AD514 #A7ED39 #C0F271 #D9F7A9 #F2FCE1

Accessibility & contrast

On white

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

On black

16.18
#C0F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0F271
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0F271#FFFFFF#000000##000000
##C0F2711.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#F6E179
Tritanopia (blue-blind)
#C6E8D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c0f271;
/* rgb */ color: rgb(192, 242, 113);
/* oklch */ color: oklch(90.0% 0.167 127.1);
Tailwind
colors: {
  custom: {
    50: '#d5f69d',
    500: '#c0f271',
    950: '#000000',
  },
}
SCSS
$custom: #c0f271;
$custom-light: #d5f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0f271",
  "rgb": {
    "r": 192,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 83.256,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89987,
    "c": 0.16655,
    "h": 127.1
  },
  "luminance": 0.75903
}

Semantic roles & 50–950 ramp

primary
#C0F271
secondary
#733CCB
accent
#06E05A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C0F271

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

Preview Lab → · Contrast checker → · Palette generator →

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