#C2D02B#C2D02B

#C2D02B 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#C2D02B
RGBrgb(194, 208, 43)
HSLhsl(65, 66%, 49%)
HSVhsv(65, 79%, 82%)
CMYKcmyk(6.7%, 0%, 79.3%, 18.4%)
CIE-LABlab(80.04, -23.58, 72.85)
CIE-LCHlch(80.04, 76.57, 107.94°)
OKLaboklab(81.99% -0.0728 0.1583)
OKLCHoklch(81.99% 0.174 114.7)
XYZxyz(45.2414, 56.7564, 10.8569)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D02B #392BD0
analogous
#D08C2B #C2D02B #70D02B
triadic
#C2D02B #2BC2D0 #D02BC2
tetradic
#C2D02B #2BD08C #392BD0 #D02B70
square
#C2D02B #2BD08C #392BD0 #D02B70
split-complementary
#C2D02B #2B70D0 #8C2BD0
monochromatic
#636B16 #939D21 #C2D02B #D2DD5B #E0E88E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c2d02b;
/* rgb */ color: rgb(194, 208, 43);
/* oklch */ color: oklch(82.0% 0.174 114.7);
Tailwind
colors: {
  custom: {
    50: '#d9de74',
    500: '#c2d02b',
    950: '#000000',
  },
}
SCSS
$custom: #c2d02b;
$custom-light: #d9de74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d02b",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 43
  },
  "hsl": {
    "h": 65.091,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81989,
    "c": 0.17427,
    "h": 114.7
  },
  "luminance": 0.56756
}

Semantic roles & 50–950 ramp

primary
#C2D02B
secondary
#312B74
accent
#3FE94E
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D02B

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

Preview Lab → · Contrast checker → · Palette generator →

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