#C2D04E#C2D04E

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

Color values

HEX#C2D04E
RGBrgb(194, 208, 78)
HSLhsl(66, 58%, 56%)
HSVhsv(66, 63%, 82%)
CMYKcmyk(6.7%, 0%, 62.5%, 18.4%)
CIE-LABlab(80.25, -21.81, 60.85)
CIE-LCHlch(80.25, 64.64, 109.72°)
OKLaboklab(82.23% -0.0648 0.1387)
OKLCHoklch(82.23% 0.153 115)
XYZxyz(46.1802, 57.1319, 15.8011)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D04E #5C4ED0
analogous
#D09D4E #C2D04E #81D04E
triadic
#C2D04E #4EC2D0 #D04EC2
tetradic
#C2D04E #4ED09D #5C4ED0 #D04E81
square
#C2D04E #4ED09D #5C4ED0 #D04E81
split-complementary
#C2D04E #4E81D0 #9D4ED0
monochromatic
#778122 #A4B22F #C2D04E #D3DD7E #E3EAAF

Accessibility & contrast

On white

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

On black

12.43
#C2D04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D04E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D04E#FFFFFF#000000##000000
##C2D04E1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2d04e;
/* rgb */ color: rgb(194, 208, 78);
/* oklch */ color: oklch(82.2% 0.153 115.0);
Tailwind
colors: {
  custom: {
    50: '#d7de85',
    500: '#c2d04e',
    950: '#000000',
  },
}
SCSS
$custom: #c2d04e;
$custom-light: #d7de85;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d04e",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 66.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82226,
    "c": 0.15305,
    "h": 115
  },
  "luminance": 0.57131
}

Semantic roles & 50–950 ramp

primary
#C2D04E
secondary
#423A89
accent
#47E157
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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