#C0DB26#C0DB26

#C0DB26 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.3% C 0.188 H 118.6°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C0DB26
RGBrgb(192, 219, 38)
HSLhsl(69, 72%, 50%)
HSVhsv(69, 83%, 86%)
CMYKcmyk(12.3%, 0%, 82.6%, 14.1%)
CIE-LABlab(82.92, -29.81, 76.55)
CIE-LCHlch(82.92, 82.15, 111.28°)
OKLaboklab(84.26% -0.0901 0.1655)
OKLCHoklch(84.26% 0.188 118.6)
XYZxyz(47.4208, 62.0099, 11.3043)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB26 #4126DB
analogous
#DB9B26 #C0DB26 #66DB26
triadic
#C0DB26 #26C0DB #DB26C0
tetradic
#C0DB26 #26DB9B #4126DB #DB2666
square
#C0DB26 #26DB9B #4126DB #DB2666
split-complementary
#C0DB26 #2666DB #9B26DB
monochromatic
#657313 #93A81C #C0DB26 #CFE45A #DEEC8F

Accessibility & contrast

On white

1.57
#C0DB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C0DB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DB26
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DB26#FFFFFF#000000##000000
##C0DB261.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACE00
Deuteranopia (green-blind)
#E7CF3A
Tritanopia (blue-blind)
#CCCFBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c0db26;
/* rgb */ color: rgb(192, 219, 38);
/* oklch */ color: oklch(84.3% 0.188 118.6);
Tailwind
colors: {
  custom: {
    50: '#d7e673',
    500: '#c0db26',
    950: '#000000',
  },
}
SCSS
$custom: #c0db26;
$custom-light: #d7e673;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db26",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 38
  },
  "hsl": {
    "h": 68.95,
    "s": 71.542,
    "l": 50.392
  },
  "oklch": {
    "l": 0.8426,
    "c": 0.18849,
    "h": 118.6
  },
  "luminance": 0.62009
}

Semantic roles & 50–950 ramp

primary
#C0DB26
secondary
#36297C
accent
#3AEE54
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0DB26

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

Preview Lab → · Contrast checker → · Palette generator →

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