#C2D04C#C2D04C

#C2D04C is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.2% C 0.155 H 115.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#C2D04C
RGBrgb(194, 208, 76)
HSLhsl(66, 58%, 56%)
HSVhsv(66, 63%, 82%)
CMYKcmyk(6.7%, 0%, 63.5%, 18.4%)
CIE-LABlab(80.24, -21.94, 61.66)
CIE-LCHlch(80.24, 65.45, 109.59°)
OKLaboklab(82.21% -0.0653 0.1401)
OKLCHoklch(82.21% 0.155 115)
XYZxyz(46.1096, 57.1036, 15.4292)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D04C #5A4CD0
analogous
#D09C4C #C2D04C #80D04C
triadic
#C2D04C #4CC2D0 #D04CC2
tetradic
#C2D04C #4CD09C #5A4CD0 #D04C80
square
#C2D04C #4CD09C #5A4CD0 #D04C80
split-complementary
#C2D04C #4C80D0 #9C4CD0
monochromatic
#768022 #A3B02E #C2D04C #D3DD7C #E3E9AD

Accessibility & contrast

On white

1.69
#C2D04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#C2D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D04C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D04C#FFFFFF#000000##000000
##C2D04C1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#CEC5B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d04c;
/* rgb */ color: rgb(194, 208, 76);
/* oklch */ color: oklch(82.2% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#d7de84',
    500: '#c2d04c',
    950: '#000000',
  },
}
SCSS
$custom: #c2d04c;
$custom-light: #d7de84;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d04c",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 66.364,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82208,
    "c": 0.15457,
    "h": 115
  },
  "luminance": 0.57103
}

Semantic roles & 50–950 ramp

primary
#C2D04C
secondary
#413987
accent
#46E257
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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