#C2D04D#C2D04D

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

Color values

HEX#C2D04D
RGBrgb(194, 208, 77)
HSLhsl(66, 58%, 56%)
HSVhsv(66, 63%, 82%)
CMYKcmyk(6.7%, 0%, 63%, 18.4%)
CIE-LABlab(80.25, -21.88, 61.26)
CIE-LCHlch(80.25, 65.05, 109.65°)
OKLaboklab(82.22% -0.0651 0.1394)
OKLCHoklch(82.22% 0.154 115)
XYZxyz(46.1446, 57.1176, 15.6137)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D04D #5B4DD0
analogous
#D09C4D #C2D04D #80D04D
triadic
#C2D04D #4DC2D0 #D04DC2
tetradic
#C2D04D #4DD09C #5B4DD0 #D04D80
square
#C2D04D #4DD09C #5B4DD0 #D04D80
split-complementary
#C2D04D #4D80D0 #9C4DD0
monochromatic
#778122 #A3B12F #C2D04D #D3DD7D #E3EAAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D04D#FFFFFF#000000##000000
##C2D04D1.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)
#DEC63C
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#CEC5B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d04d;
/* rgb */ color: rgb(194, 208, 77);
/* oklch */ color: oklch(82.2% 0.154 115.0);
Tailwind
colors: {
  custom: {
    50: '#d7de85',
    500: '#c2d04d',
    950: '#000000',
  },
}
SCSS
$custom: #c2d04d;
$custom-light: #d7de85;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d04d",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 66.412,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82217,
    "c": 0.15381,
    "h": 115
  },
  "luminance": 0.57117
}

Semantic roles & 50–950 ramp

primary
#C2D04D
secondary
#423988
accent
#46E157
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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