#C0DB52#C0DB52

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

Color values

HEX#C0DB52
RGBrgb(192, 219, 82)
HSLhsl(72, 66%, 59%)
HSVhsv(72, 63%, 86%)
CMYKcmyk(12.3%, 0%, 62.6%, 14.1%)
CIE-LABlab(83.17, -27.64, 62.28)
CIE-LCHlch(83.17, 68.14, 113.93°)
OKLaboklab(84.54% -0.0806 0.1422)
OKLCHoklch(84.54% 0.163 119.5)
XYZxyz(48.5935, 62.4789, 17.4807)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB52 #6D52DB
analogous
#DBB252 #C0DB52 #7CDB52
triadic
#C0DB52 #52C0DB #DB52C0
tetradic
#C0DB52 #52DBB2 #6D52DB #DB527C
square
#C0DB52 #52DBB2 #6D52DB #DB527C
split-complementary
#C0DB52 #527CDB #B252DB
monochromatic
#7D941F #A8C629 #C0DB52 #D2E685 #E5F0B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0DB52#FFFFFF#000000##000000
##C0DB521.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)
#E8CF41
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#CAD0BE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db52;
/* rgb */ color: rgb(192, 219, 82);
/* oklch */ color: oklch(84.5% 0.163 119.5);
Tailwind
colors: {
  custom: {
    50: '#d6e689',
    500: '#c0db52',
    950: '#000000',
  },
}
SCSS
$custom: #c0db52;
$custom-light: #d6e689;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db52",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 71.825,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84539,
    "c": 0.16348,
    "h": 119.5
  },
  "luminance": 0.62479
}

Semantic roles & 50–950 ramp

primary
#C0DB52
secondary
#4C3999
accent
#3FE961
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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