#C0DF40#C0DF40

#C0DF40 is a very light, vivid yellow-green. Relative luminance 0.644; OKLCH L 85.3% C 0.180 H 120.1°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#C0DF40
RGBrgb(192, 223, 64)
HSLhsl(72, 71%, 56%)
HSVhsv(72, 71%, 87%)
CMYKcmyk(13.9%, 0%, 71.3%, 12.5%)
CIE-LABlab(84.15, -30.62, 70.10)
CIE-LCHlch(84.15, 76.49, 113.59°)
OKLaboklab(85.29% -0.0904 0.1561)
OKLCHoklch(85.29% 0.18 120.1)
XYZxyz(49.0522, 64.3522, 14.6866)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF40 #5F40DF
analogous
#DFAF40 #C0DF40 #71DF40
triadic
#C0DF40 #40C0DF #DF40C0
tetradic
#C0DF40 #40DFAF #5F40DF #DF4071
square
#C0DF40 #40DFAF #5F40DF #DF4071
split-complementary
#C0DF40 #4071DF #AF40DF
monochromatic
#768D18 #A2C120 #C0DF40 #D1E874 #E3F1A9

Accessibility & contrast

On white

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

On black

13.87
#C0DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF40
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF40#FFFFFF#000000##000000
##C0DF401.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD222
Deuteranopia (green-blind)
#E9D24D
Tritanopia (blue-blind)
#CBD3C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c0df40;
/* rgb */ color: rgb(192, 223, 64);
/* oklch */ color: oklch(85.3% 0.180 120.1);
Tailwind
colors: {
  custom: {
    50: '#d7e97f',
    500: '#c0df40',
    950: '#000000',
  },
}
SCSS
$custom: #c0df40;
$custom-light: #d7e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df40",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 71.698,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85289,
    "c": 0.18039,
    "h": 120.1
  },
  "luminance": 0.64352
}

Semantic roles & 50–950 ramp

primary
#C0DF40
secondary
#443192
accent
#3AEE5D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C0DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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