#C0D02C#C0D02C

#C0D02C is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.8% C 0.174 H 115.4°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#C0D02C
RGBrgb(192, 208, 44)
HSLhsl(66, 65%, 49%)
HSVhsv(66, 79%, 82%)
CMYKcmyk(7.7%, 0%, 78.8%, 18.4%)
CIE-LABlab(79.90, -24.38, 72.39)
CIE-LCHlch(79.90, 76.38, 108.61°)
OKLaboklab(81.84% -0.0748 0.1576)
OKLCHoklch(81.84% 0.174 115.4)
XYZxyz(44.7500, 56.5008, 10.9308)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D02C #3C2CD0
analogous
#D08E2C #C0D02C #6ED02C
triadic
#C0D02C #2CC0D0 #D02CC0
tetradic
#C0D02C #2CD08E #3C2CD0 #D02C6E
square
#C0D02C #2CD08E #3C2CD0 #D02C6E
split-complementary
#C0D02C #2C6ED0 #8E2CD0
monochromatic
#636B17 #919D21 #C0D02C #D0DD5D #DFE78F

Accessibility & contrast

On white

1.71
#C0D02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#C0D02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D02C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D02C#FFFFFF#000000##000000
##C0D02C1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#DEC73C
Tritanopia (blue-blind)
#CDC4B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0d02c;
/* rgb */ color: rgb(192, 208, 44);
/* oklch */ color: oklch(81.8% 0.174 115.4);
Tailwind
colors: {
  custom: {
    50: '#d7de74',
    500: '#c0d02c',
    950: '#000000',
  },
}
SCSS
$custom: #c0d02c;
$custom-light: #d7de74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d02c",
  "rgb": {
    "r": 192,
    "g": 208,
    "b": 44
  },
  "hsl": {
    "h": 65.854,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81837,
    "c": 0.17445,
    "h": 115.4
  },
  "luminance": 0.565
}

Semantic roles & 50–950 ramp

primary
#C0D02C
secondary
#332C75
accent
#40E850
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0D02C

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

Preview Lab → · Contrast checker → · Palette generator →

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