#C0DA51#C0DA51

#C0DA51 is a very light, vivid yellow-green. Relative luminance 0.619; OKLCH L 84.3% C 0.163 H 119.2°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#C0DA51
RGBrgb(192, 218, 81)
HSLhsl(71, 65%, 59%)
HSVhsv(71, 63%, 85%)
CMYKcmyk(11.9%, 0%, 62.8%, 14.5%)
CIE-LABlab(82.88, -27.23, 62.38)
CIE-LCHlch(82.88, 68.07, 113.58°)
OKLaboklab(84.31% -0.0795 0.1423)
OKLCHoklch(84.31% 0.163 119.2)
XYZxyz(48.2956, 61.9436, 17.1951)
Luminance0.6194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DA51 #6B51DA
analogous
#DAAF51 #C0DA51 #7BDA51
triadic
#C0DA51 #51C0DA #DA51C0
tetradic
#C0DA51 #51DAAF #6B51DA #DA517B
square
#C0DA51 #51DAAF #6B51DA #DA517B
split-complementary
#C0DA51 #517BDA #AF51DA
monochromatic
#7C921F #A7C42A #C0DA51 #D2E583 #E5EFB6

Accessibility & contrast

On white

1.57
#C0DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#C0DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DA51
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DA51#FFFFFF#000000##000000
##C0DA511.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#CACFBE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c0da51;
/* rgb */ color: rgb(192, 218, 81);
/* oklch */ color: oklch(84.3% 0.163 119.2);
Tailwind
colors: {
  custom: {
    50: '#d6e588',
    500: '#c0da51',
    950: '#000000',
  },
}
SCSS
$custom: #c0da51;
$custom-light: #d6e588;
$custom-dark: #000000;
JSON
{
  "hex": "#c0da51",
  "rgb": {
    "r": 192,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 71.387,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84308,
    "c": 0.16305,
    "h": 119.2
  },
  "luminance": 0.61943
}

Semantic roles & 50–950 ramp

primary
#C0DA51
secondary
#4A3997
accent
#40E860
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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