#C2D02C#C2D02C

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

Color values

HEX#C2D02C
RGBrgb(194, 208, 44)
HSLhsl(65, 65%, 49%)
HSVhsv(65, 79%, 82%)
CMYKcmyk(6.7%, 0%, 78.8%, 18.4%)
CIE-LABlab(80.05, -23.55, 72.58)
CIE-LCHlch(80.05, 76.30, 107.97°)
OKLaboklab(81.99% -0.0726 0.1579)
OKLCHoklch(81.99% 0.174 114.7)
XYZxyz(45.2600, 56.7638, 10.9547)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D02C #3A2CD0
analogous
#D08C2C #C2D02C #70D02C
triadic
#C2D02C #2CC2D0 #D02CC2
tetradic
#C2D02C #2CD08C #3A2CD0 #D02C70
square
#C2D02C #2CD08C #3A2CD0 #D02C70
split-complementary
#C2D02C #2C70D0 #8C2CD0
monochromatic
#646B17 #939D21 #C2D02C #D2DD5D #E0E78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D02C#FFFFFF#000000##000000
##C2D02C1.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)
#DFC83C
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2d02c;
/* rgb */ color: rgb(194, 208, 44);
/* oklch */ color: oklch(82.0% 0.174 114.7);
Tailwind
colors: {
  custom: {
    50: '#d8de74',
    500: '#c2d02c',
    950: '#000000',
  },
}
SCSS
$custom: #c2d02c;
$custom-light: #d8de74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d02c",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 44
  },
  "hsl": {
    "h": 65.122,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81994,
    "c": 0.17383,
    "h": 114.7
  },
  "luminance": 0.56763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2D02C

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

Preview Lab → · Contrast checker → · Palette generator →

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