#C0DB54#C0DB54

#C0DB54 is a very light, vivid yellow-green. Relative luminance 0.625; OKLCH L 84.6% C 0.162 H 119.6°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#C0DB54
RGBrgb(192, 219, 84)
HSLhsl(72, 65%, 59%)
HSVhsv(72, 62%, 86%)
CMYKcmyk(12.3%, 0%, 61.6%, 14.1%)
CIE-LABlab(83.18, -27.50, 61.47)
CIE-LCHlch(83.18, 67.34, 114.10°)
OKLaboklab(84.56% -0.08 0.1408)
OKLCHoklch(84.56% 0.162 119.6)
XYZxyz(48.6707, 62.5098, 17.8874)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB54 #6F54DB
analogous
#DBB354 #C0DB54 #7DDB54
triadic
#C0DB54 #54C0DB #DB54C0
tetradic
#C0DB54 #54DBB3 #6F54DB #DB547D
square
#C0DB54 #54DBB3 #6F54DB #DB547D
split-complementary
#C0DB54 #547DDB #B354DB
monochromatic
#7E951F #A8C82A #C0DB54 #D3E687 #E5F0B9

Accessibility & contrast

On white

1.56
#C0DB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#C0DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DB54
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DB54#FFFFFF#000000##000000
##C0DB541.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#CAD0BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db54;
/* rgb */ color: rgb(192, 219, 84);
/* oklch */ color: oklch(84.6% 0.162 119.6);
Tailwind
colors: {
  custom: {
    50: '#d6e68a',
    500: '#c0db54',
    950: '#000000',
  },
}
SCSS
$custom: #c0db54;
$custom-light: #d6e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db54",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 72,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84558,
    "c": 0.16193,
    "h": 119.6
  },
  "luminance": 0.6251
}

Semantic roles & 50–950 ramp

primary
#C0DB54
secondary
#4D399A
accent
#40E861
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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