#C0DB2F#C0DB2F

#C0DB2F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.3% C 0.185 H 118.7°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#C0DB2F
RGBrgb(192, 219, 47)
HSLhsl(69, 70%, 52%)
HSVhsv(69, 79%, 86%)
CMYKcmyk(12.3%, 0%, 78.5%, 14.1%)
CIE-LABlab(82.95, -29.50, 74.29)
CIE-LCHlch(82.95, 79.93, 111.66°)
OKLaboklab(84.3% -0.0887 0.1621)
OKLCHoklch(84.3% 0.185 118.7)
XYZxyz(47.5839, 62.0751, 12.1637)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB2F #4A2FDB
analogous
#DBA02F #C0DB2F #6ADB2F
triadic
#C0DB2F #2FC0DB #DB2FC0
tetradic
#C0DB2F #2FDBA0 #4A2FDB #DB2F6A
square
#C0DB2F #2FDBA0 #4A2FDB #DB2F6A
split-complementary
#C0DB2F #2F6ADB #A02FDB
monochromatic
#6B7A15 #98AF1E #C0DB2F #D0E463 #E0ED97

Accessibility & contrast

On white

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

On black

13.42
#C0DB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DB2F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DB2F#FFFFFF#000000##000000
##C0DB2F1.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACE00
Deuteranopia (green-blind)
#E7CF40
Tritanopia (blue-blind)
#CCCFBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db2f;
/* rgb */ color: rgb(192, 219, 47);
/* oklch */ color: oklch(84.3% 0.185 118.7);
Tailwind
colors: {
  custom: {
    50: '#d7e677',
    500: '#c0db2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0db2f;
$custom-light: #d7e677;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db2f",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 47
  },
  "hsl": {
    "h": 69.419,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.84298,
    "c": 0.18483,
    "h": 118.7
  },
  "luminance": 0.62075
}

Semantic roles & 50–950 ramp

primary
#C0DB2F
secondary
#3A2C82
accent
#3BED57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0DB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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