#C2D04A#C2D04A

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

Color values

HEX#C2D04A
RGBrgb(194, 208, 74)
HSLhsl(66, 59%, 55%)
HSVhsv(66, 64%, 82%)
CMYKcmyk(6.7%, 0%, 64.4%, 18.4%)
CIE-LABlab(80.22, -22.07, 62.45)
CIE-LCHlch(80.22, 66.24, 109.47°)
OKLaboklab(82.19% -0.0659 0.1415)
OKLCHoklch(82.19% 0.156 115)
XYZxyz(46.0411, 57.0762, 15.0687)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D04A #584AD0
analogous
#D09B4A #C2D04A #7FD04A
triadic
#C2D04A #4AC2D0 #D04AC2
tetradic
#C2D04A #4AD09B #584AD0 #D04A7F
square
#C2D04A #4AD09B #584AD0 #D04A7F
split-complementary
#C2D04A #4A7FD0 #9B4AD0
monochromatic
#757F21 #A2AF2E #C2D04A #D2DD7B #E3E9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D04A#FFFFFF#000000##000000
##C2D04A1.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)
#DEC638
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#CEC4B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d04a;
/* rgb */ color: rgb(194, 208, 74);
/* oklch */ color: oklch(82.2% 0.156 115.0);
Tailwind
colors: {
  custom: {
    50: '#d7de83',
    500: '#c2d04a',
    950: '#000000',
  },
}
SCSS
$custom: #c2d04a;
$custom-light: #d7de83;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d04a",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 74
  },
  "hsl": {
    "h": 66.269,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82191,
    "c": 0.15606,
    "h": 115
  },
  "luminance": 0.57075
}

Semantic roles & 50–950 ramp

primary
#C2D04A
secondary
#403886
accent
#46E256
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D04A

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

Preview Lab → · Contrast checker → · Palette generator →

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