#C2D04B#C2D04B

#C2D04B 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#C2D04B
RGBrgb(194, 208, 75)
HSLhsl(66, 59%, 55%)
HSVhsv(66, 64%, 82%)
CMYKcmyk(6.7%, 0%, 63.9%, 18.4%)
CIE-LABlab(80.23, -22.01, 62.06)
CIE-LCHlch(80.23, 65.84, 109.53°)
OKLaboklab(82.2% -0.0656 0.1408)
OKLCHoklch(82.2% 0.155 115)
XYZxyz(46.0751, 57.0898, 15.2475)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D04B #594BD0
analogous
#D09B4B #C2D04B #7FD04B
triadic
#C2D04B #4BC2D0 #D04BC2
tetradic
#C2D04B #4BD09B #594BD0 #D04B7F
square
#C2D04B #4BD09B #594BD0 #D04B7F
split-complementary
#C2D04B #4B7FD0 #9B4BD0
monochromatic
#757F21 #A2B02E #C2D04B #D2DD7C #E3E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D04B#FFFFFF#000000##000000
##C2D04B1.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)
#DEC639
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#CEC5B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d04b;
/* rgb */ color: rgb(194, 208, 75);
/* oklch */ color: oklch(82.2% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#d7de84',
    500: '#c2d04b',
    950: '#000000',
  },
}
SCSS
$custom: #c2d04b;
$custom-light: #d7de84;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d04b",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 66.316,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82199,
    "c": 0.15532,
    "h": 115
  },
  "luminance": 0.57089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2D04B

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

Preview Lab → · Contrast checker → · Palette generator →

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