#C0DF51#C0DF51

#C0DF51 is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.4% C 0.169 H 120.6°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#C0DF51
RGBrgb(192, 223, 81)
HSLhsl(73, 69%, 60%)
HSVhsv(73, 64%, 87%)
CMYKcmyk(13.9%, 0%, 63.7%, 12.5%)
CIE-LABlab(84.26, -29.60, 63.85)
CIE-LCHlch(84.26, 70.38, 114.87°)
OKLaboklab(85.42% -0.0861 0.1454)
OKLCHoklch(85.42% 0.169 120.6)
XYZxyz(49.6118, 64.5760, 17.6338)
Luminance0.6458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF51 #7051DF
analogous
#DFB751 #C0DF51 #79DF51
triadic
#C0DF51 #51C0DF #DF51C0
tetradic
#C0DF51 #51DFB7 #7051DF #DF5179
square
#C0DF51 #51DFB7 #7051DF #DF5179
split-complementary
#C0DF51 #5179DF #B751DF
monochromatic
#7E991C #A9CD26 #C0DF51 #D3E985 #E5F2B8

Accessibility & contrast

On white

1.51
#C0DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#C0DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF51
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF51#FFFFFF#000000##000000
##C0DF511.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33F
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#CAD4C2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c0df51;
/* rgb */ color: rgb(192, 223, 81);
/* oklch */ color: oklch(85.4% 0.169 120.6);
Tailwind
colors: {
  custom: {
    50: '#d6e988',
    500: '#c0df51',
    950: '#000000',
  },
}
SCSS
$custom: #c0df51;
$custom-light: #d6e988;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df51",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 73.099,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8542,
    "c": 0.16901,
    "h": 120.6
  },
  "luminance": 0.64576
}

Semantic roles & 50–950 ramp

primary
#C0DF51
secondary
#4D379D
accent
#3CEC62
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C0DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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