#C0DF4F#C0DF4F

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

Color values

HEX#C0DF4F
RGBrgb(192, 223, 79)
HSLhsl(73, 69%, 59%)
HSVhsv(73, 65%, 87%)
CMYKcmyk(13.9%, 0%, 64.6%, 12.5%)
CIE-LABlab(84.25, -29.73, 64.64)
CIE-LCHlch(84.25, 71.15, 114.70°)
OKLaboklab(85.4% -0.0867 0.1468)
OKLCHoklch(85.4% 0.17 120.6)
XYZxyz(49.5379, 64.5465, 17.2446)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF4F #6E4FDF
analogous
#DFB64F #C0DF4F #78DF4F
triadic
#C0DF4F #4FC0DF #DF4FC0
tetradic
#C0DF4F #4FDFB6 #6E4FDF #DF4F78
square
#C0DF4F #4FDFB6 #6E4FDF #DF4F78
split-complementary
#C0DF4F #4F78DF #B64FDF
monochromatic
#7D981C #A8CC25 #C0DF4F #D3E883 #E5F2B7

Accessibility & contrast

On white

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

On black

13.91
#C0DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF4F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF4F#FFFFFF#000000##000000
##C0DF4F1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0df4f;
/* rgb */ color: rgb(192, 223, 79);
/* oklch */ color: oklch(85.4% 0.170 120.6);
Tailwind
colors: {
  custom: {
    50: '#d6e987',
    500: '#c0df4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0df4f;
$custom-light: #d6e987;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df4f",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 72.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85402,
    "c": 0.17049,
    "h": 120.6
  },
  "luminance": 0.64546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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