#C0DF54#C0DF54

#C0DF54 is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.4% C 0.167 H 120.7°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#C0DF54
RGBrgb(192, 223, 84)
HSLhsl(73, 68%, 60%)
HSVhsv(73, 62%, 87%)
CMYKcmyk(13.9%, 0%, 62.3%, 12.5%)
CIE-LABlab(84.29, -29.39, 62.66)
CIE-LCHlch(84.29, 69.21, 115.13°)
OKLaboklab(85.45% -0.0852 0.1433)
OKLCHoklch(85.45% 0.167 120.7)
XYZxyz(49.7268, 64.6220, 18.2394)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF54 #7354DF
analogous
#DFB854 #C0DF54 #7BDF54
triadic
#C0DF54 #54C0DF #DF54C0
tetradic
#C0DF54 #54DFB8 #7354DF #DF547B
square
#C0DF54 #54DFB8 #7354DF #DF547B
split-complementary
#C0DF54 #547BDF #B854DF
monochromatic
#7F9C1D #AACF27 #C0DF54 #D3E988 #E6F2BB

Accessibility & contrast

On white

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

On black

13.92
#C0DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF54
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF54#FFFFFF#000000##000000
##C0DF541.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0df54;
/* rgb */ color: rgb(192, 223, 84);
/* oklch */ color: oklch(85.4% 0.167 120.7);
Tailwind
colors: {
  custom: {
    50: '#d6e98a',
    500: '#c0df54',
    950: '#000000',
  },
}
SCSS
$custom: #c0df54;
$custom-light: #d6e98a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df54",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 73.381,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85446,
    "c": 0.16675,
    "h": 120.7
  },
  "luminance": 0.64622
}

Semantic roles & 50–950 ramp

primary
#C0DF54
secondary
#4F389F
accent
#15D03F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C0DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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