#C2D02D#C2D02D

#C2D02D is a light, vivid yellow. Relative luminance 0.568; OKLCH L 82.0% C 0.173 H 114.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C2D02D
RGBrgb(194, 208, 45)
HSLhsl(65, 64%, 50%)
HSVhsv(65, 78%, 82%)
CMYKcmyk(6.7%, 0%, 78.4%, 18.4%)
CIE-LABlab(80.05, -23.51, 72.30)
CIE-LCHlch(80.05, 76.03, 108.01°)
OKLaboklab(82% -0.0725 0.1575)
OKLCHoklch(82% 0.173 114.7)
XYZxyz(45.2790, 56.7714, 11.0549)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D02D #3B2DD0
analogous
#D08C2D #C2D02D #71D02D
triadic
#C2D02D #2DC2D0 #D02DC2
tetradic
#C2D02D #2DD08C #3B2DD0 #D02D71
square
#C2D02D #2DD08C #3B2DD0 #D02D71
split-complementary
#C2D02D #2D71D0 #8C2DD0
monochromatic
#646B17 #939E22 #C2D02D #D1DC5E #E0E790

Accessibility & contrast

On white

1.70
#C2D02D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#C2D02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D02D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D02D#FFFFFF#000000##000000
##C2D02D1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2d02d;
/* rgb */ color: rgb(194, 208, 45);
/* oklch */ color: oklch(82.0% 0.173 114.7);
Tailwind
colors: {
  custom: {
    50: '#d8de75',
    500: '#c2d02d',
    950: '#000000',
  },
}
SCSS
$custom: #c2d02d;
$custom-light: #d8de75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d02d",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 45
  },
  "hsl": {
    "h": 65.153,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81998,
    "c": 0.17338,
    "h": 114.7
  },
  "luminance": 0.56771
}

Semantic roles & 50–950 ramp

primary
#C2D02D
secondary
#322C75
accent
#40E74F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D02D

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

Preview Lab → · Contrast checker → · Palette generator →

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