#C0DE46#C0DE46

#C0DE46 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 85.1% C 0.176 H 120.0°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#C0DE46
RGBrgb(192, 222, 70)
HSLhsl(72, 70%, 57%)
HSVhsv(72, 68%, 87%)
CMYKcmyk(13.5%, 0%, 68.5%, 12.9%)
CIE-LABlab(83.91, -29.82, 67.73)
CIE-LCHlch(83.91, 74.00, 113.76°)
OKLaboklab(85.11% -0.0877 0.152)
OKLCHoklch(85.11% 0.176 120)
XYZxyz(48.9658, 63.8914, 15.5459)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DE46 #6446DE
analogous
#DEB046 #C0DE46 #74DE46
triadic
#C0DE46 #46C0DE #DE46C0
tetradic
#C0DE46 #46DEB0 #6446DE #DE4674
square
#C0DE46 #46DEB0 #6446DE #DE4674
split-complementary
#C0DE46 #4674DE #B046DE
monochromatic
#79901A #A4C423 #C0DE46 #D2E77A #E3F1AE

Accessibility & contrast

On white

1.52
#C0DE46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#C0DE46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DE46
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DE46#FFFFFF#000000##000000
##C0DE461.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD12E
Deuteranopia (green-blind)
#E8D252
Tritanopia (blue-blind)
#CBD2C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c0de46;
/* rgb */ color: rgb(192, 222, 70);
/* oklch */ color: oklch(85.1% 0.176 120.0);
Tailwind
colors: {
  custom: {
    50: '#d6e882',
    500: '#c0de46',
    950: '#000000',
  },
}
SCSS
$custom: #c0de46;
$custom-light: #d6e882;
$custom-dark: #000000;
JSON
{
  "hex": "#c0de46",
  "rgb": {
    "r": 192,
    "g": 222,
    "b": 70
  },
  "hsl": {
    "h": 71.842,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85108,
    "c": 0.17551,
    "h": 120
  },
  "luminance": 0.63891
}

Semantic roles & 50–950 ramp

primary
#C0DE46
secondary
#473395
accent
#3BED5E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C0DE46

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

Preview Lab → · Contrast checker → · Palette generator →

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