#C2D042#C2D042

#C2D042 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.1% C 0.162 H 114.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#C2D042
RGBrgb(194, 208, 66)
HSLhsl(66, 60%, 54%)
HSVhsv(66, 68%, 82%)
CMYKcmyk(6.7%, 0%, 68.3%, 18.4%)
CIE-LABlab(80.17, -22.55, 65.49)
CIE-LCHlch(80.17, 69.26, 109.00°)
OKLaboklab(82.13% -0.068 0.1466)
OKLCHoklch(82.13% 0.162 114.9)
XYZxyz(45.7886, 56.9752, 13.7384)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D042 #5042D0
analogous
#D09742 #C2D042 #7BD042
triadic
#C2D042 #42C2D0 #D042C2
tetradic
#C2D042 #42D097 #5042D0 #D0427B
square
#C2D042 #42D097 #5042D0 #D0427B
split-complementary
#C2D042 #427BD0 #9742D0
monochromatic
#70791E #9EAA2A #C2D042 #D2DC73 #E2E8A4

Accessibility & contrast

On white

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

On black

12.39
#C2D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D042
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D042#FFFFFF#000000##000000
##C2D0421.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#DEC84D
Tritanopia (blue-blind)
#CEC4B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d042;
/* rgb */ color: rgb(194, 208, 66);
/* oklch */ color: oklch(82.1% 0.162 114.9);
Tailwind
colors: {
  custom: {
    50: '#d8de7f',
    500: '#c2d042',
    950: '#000000',
  },
}
SCSS
$custom: #c2d042;
$custom-light: #d8de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d042",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 65.915,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82127,
    "c": 0.16164,
    "h": 114.9
  },
  "luminance": 0.56974
}

Semantic roles & 50–950 ramp

primary
#C2D042
secondary
#3C3581
accent
#44E354
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D042

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

Preview Lab → · Contrast checker → · Palette generator →

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