#C2D442#C2D442

#C2D442 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.0% C 0.166 H 116.2°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C2D442
RGBrgb(194, 212, 66)
HSLhsl(67, 63%, 55%)
HSVhsv(67, 69%, 83%)
CMYKcmyk(8.5%, 0%, 68.9%, 16.9%)
CIE-LABlab(81.26, -24.48, 66.59)
CIE-LCHlch(81.26, 70.95, 110.19°)
OKLaboklab(83.01% -0.0734 0.149)
OKLCHoklch(83.01% 0.166 116.2)
XYZxyz(46.7761, 58.9503, 14.0676)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D442 #5442D4
analogous
#D49D42 #C2D442 #79D442
triadic
#C2D442 #42C2D4 #D442C2
tetradic
#C2D442 #42D49D #5442D4 #D44279
square
#C2D442 #42D49D #5442D4 #D44279
split-complementary
#C2D442 #4279D4 #9D42D4
monochromatic
#737F1D #A0B128 #C2D442 #D2DF74 #E2EBA6

Accessibility & contrast

On white

1.64
#C2D442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#C2D442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D442
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D442#FFFFFF#000000##000000
##C2D4421.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92A
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#CEC8B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d442;
/* rgb */ color: rgb(194, 212, 66);
/* oklch */ color: oklch(83.0% 0.166 116.2);
Tailwind
colors: {
  custom: {
    50: '#d8e17f',
    500: '#c2d442',
    950: '#000000',
  },
}
SCSS
$custom: #c2d442;
$custom-light: #d8e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d442",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 67.397,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83008,
    "c": 0.16606,
    "h": 116.2
  },
  "luminance": 0.5895
}

Semantic roles & 50–950 ramp

primary
#C2D442
secondary
#3E3486
accent
#42E656
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D442

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

Preview Lab → · Contrast checker → · Palette generator →

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