#C0DF2D#C0DF2D

#C0DF2D is a very light, vivid yellow-green. Relative luminance 0.642; OKLCH L 85.2% C 0.190 H 119.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#C0DF2D
RGBrgb(192, 223, 45)
HSLhsl(70, 74%, 53%)
HSVhsv(70, 80%, 87%)
CMYKcmyk(13.9%, 0%, 79.8%, 12.5%)
CIE-LABlab(84.06, -31.45, 75.81)
CIE-LCHlch(84.06, 82.07, 112.53°)
OKLaboklab(85.18% -0.0942 0.1651)
OKLCHoklch(85.18% 0.19 119.7)
XYZxyz(48.6006, 64.1715, 12.3081)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF2D #4C2DDF
analogous
#DFA52D #C0DF2D #67DF2D
triadic
#C0DF2D #2DC0DF #DF2DC0
tetradic
#C0DF2D #2DDFA5 #4C2DDF #DF2D67
square
#C0DF2D #2DDFA5 #4C2DDF #DF2D67
split-complementary
#C0DF2D #2D67DF #A52DDF
monochromatic
#6C7E13 #99B31B #C0DF2D #D0E762 #E0EF97

Accessibility & contrast

On white

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

On black

13.83
#C0DF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF2D
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF2D#FFFFFF#000000##000000
##C0DF2D1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#EAD240
Tritanopia (blue-blind)
#CBD3BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c0df2d;
/* rgb */ color: rgb(192, 223, 45);
/* oklch */ color: oklch(85.2% 0.190 119.7);
Tailwind
colors: {
  custom: {
    50: '#d7e976',
    500: '#c0df2d',
    950: '#000000',
  },
}
SCSS
$custom: #c0df2d;
$custom-light: #d7e976;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df2d",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 45
  },
  "hsl": {
    "h": 70.449,
    "s": 73.554,
    "l": 52.549
  },
  "oklch": {
    "l": 0.85184,
    "c": 0.19004,
    "h": 119.7
  },
  "luminance": 0.64171
}

Semantic roles & 50–950 ramp

primary
#C0DF2D
secondary
#3B2B85
accent
#38F058
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C0DF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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