#C2D42E#C2D42E

#C2D42E is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 82.9% C 0.177 H 116.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#C2D42E
RGBrgb(194, 212, 46)
HSLhsl(67, 66%, 51%)
HSVhsv(67, 78%, 83%)
CMYKcmyk(8.5%, 0%, 78.3%, 16.9%)
CIE-LABlab(81.16, -25.40, 73.01)
CIE-LCHlch(81.16, 77.30, 109.18°)
OKLaboklab(82.89% -0.0776 0.1592)
OKLCHoklch(82.89% 0.177 116)
XYZxyz(46.2861, 58.7543, 11.4866)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D42E #402ED4
analogous
#D4932E #C2D42E #6FD42E
triadic
#C2D42E #2EC2D4 #D42EC2
tetradic
#C2D42E #2ED493 #402ED4 #D42E6F
square
#C2D42E #2ED493 #402ED4 #D42E6F
split-complementary
#C2D42E #2E6FD4 #932ED4
monochromatic
#677017 #95A322 #C2D42E #D1DE61 #E0E994

Accessibility & contrast

On white

1.65
#C2D42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#C2D42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D42E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D42E#FFFFFF#000000##000000
##C2D42E1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E2CB3E
Tritanopia (blue-blind)
#CFC8B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d42e;
/* rgb */ color: rgb(194, 212, 46);
/* oklch */ color: oklch(82.9% 0.177 116.0);
Tailwind
colors: {
  custom: {
    50: '#d8e175',
    500: '#c2d42e',
    950: '#000000',
  },
}
SCSS
$custom: #c2d42e;
$custom-light: #d8e175;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d42e",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 46
  },
  "hsl": {
    "h": 66.506,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.82887,
    "c": 0.17709,
    "h": 116
  },
  "luminance": 0.58754
}

Semantic roles & 50–950 ramp

primary
#C2D42E
secondary
#352D79
accent
#3FE951
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D42E

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

Preview Lab → · Contrast checker → · Palette generator →

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