#C2D642#C2D642

#C2D642 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.5% C 0.168 H 116.9°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C2D642
RGBrgb(194, 214, 66)
HSLhsl(68, 64%, 55%)
HSVhsv(68, 69%, 84%)
CMYKcmyk(9.3%, 0%, 69.2%, 16.1%)
CIE-LABlab(81.81, -25.45, 67.14)
CIE-LCHlch(81.81, 71.80, 110.76°)
OKLaboklab(83.45% -0.0761 0.1501)
OKLCHoklch(83.45% 0.168 116.9)
XYZxyz(47.2792, 59.9564, 14.2353)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D642 #5642D6
analogous
#D6A042 #C2D642 #78D642
triadic
#C2D642 #42C2D6 #D642C2
tetradic
#C2D642 #42D6A0 #5642D6 #D64278
square
#C2D642 #42D6A0 #5642D6 #D64278
split-complementary
#C2D642 #4278D6 #A042D6
monochromatic
#74821C #A1B427 #C2D642 #D2E174 #E2ECA7

Accessibility & contrast

On white

1.62
#C2D642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#C2D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D642
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D642#FFFFFF#000000##000000
##C2D6421.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2A
Deuteranopia (green-blind)
#E3CC4E
Tritanopia (blue-blind)
#CECAB9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d642;
/* rgb */ color: rgb(194, 214, 66);
/* oklch */ color: oklch(83.5% 0.168 116.9);
Tailwind
colors: {
  custom: {
    50: '#d8e27f',
    500: '#c2d642',
    950: '#000000',
  },
}
SCSS
$custom: #c2d642;
$custom-light: #d8e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d642",
  "rgb": {
    "r": 194,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 68.108,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8345,
    "c": 0.16828,
    "h": 116.9
  },
  "luminance": 0.59956
}

Semantic roles & 50–950 ramp

primary
#C2D642
secondary
#3F3488
accent
#40E757
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D642

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

Preview Lab → · Contrast checker → · Palette generator →

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