#C0DB4E#C0DB4E

#C0DB4E is a very light, vivid yellow-green. Relative luminance 0.624; OKLCH L 84.5% C 0.166 H 119.4°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C0DB4E
RGBrgb(192, 219, 78)
HSLhsl(71, 66%, 58%)
HSVhsv(71, 64%, 86%)
CMYKcmyk(12.3%, 0%, 64.4%, 14.1%)
CIE-LABlab(83.14, -27.91, 63.86)
CIE-LCHlch(83.14, 69.69, 113.61°)
OKLaboklab(84.5% -0.0817 0.1451)
OKLCHoklch(84.5% 0.166 119.4)
XYZxyz(48.4457, 62.4198, 16.7023)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB4E #694EDB
analogous
#DBAF4E #C0DB4E #79DB4E
triadic
#C0DB4E #4EC0DB #DB4EC0
tetradic
#C0DB4E #4EDBAF #694EDB #DB4E79
square
#C0DB4E #4EDBAF #694EDB #DB4E79
split-complementary
#C0DB4E #4E79DB #AF4EDB
monochromatic
#7B911E #A6C428 #C0DB4E #D2E581 #E4F0B4

Accessibility & contrast

On white

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

On black

13.48
#C0DB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DB4E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DB4E#FFFFFF#000000##000000
##C0DB4E1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3B
Deuteranopia (green-blind)
#E5D058
Tritanopia (blue-blind)
#CAD0BE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db4e;
/* rgb */ color: rgb(192, 219, 78);
/* oklch */ color: oklch(84.5% 0.166 119.4);
Tailwind
colors: {
  custom: {
    50: '#d6e686',
    500: '#c0db4e',
    950: '#000000',
  },
}
SCSS
$custom: #c0db4e;
$custom-light: #d6e686;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db4e",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 78
  },
  "hsl": {
    "h": 71.489,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84504,
    "c": 0.16648,
    "h": 119.4
  },
  "luminance": 0.6242
}

Semantic roles & 50–950 ramp

primary
#C0DB4E
secondary
#493796
accent
#3FE95F
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0DB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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