#C2DA42#C2DA42

#C2DA42 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.3% C 0.173 H 118.1°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C2DA42
RGBrgb(194, 218, 66)
HSLhsl(69, 67%, 56%)
HSVhsv(69, 70%, 85%)
CMYKcmyk(11%, 0%, 69.7%, 14.5%)
CIE-LABlab(82.92, -27.35, 68.23)
CIE-LCHlch(82.92, 73.51, 111.85°)
OKLaboklab(84.34% -0.0814 0.1524)
OKLCHoklch(84.34% 0.173 118.1)
XYZxyz(48.3039, 62.0059, 14.5769)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DA42 #5A42DA
analogous
#DAA642 #C2DA42 #76DA42
triadic
#C2DA42 #42C2DA #DA42C2
tetradic
#C2DA42 #42DAA6 #5A42DA #DA4276
square
#C2DA42 #42DAA6 #5A42DA #DA4276
split-complementary
#C2DA42 #4276DA #A642DA
monochromatic
#76871A #A3BA24 #C2DA42 #D3E475 #E3EEA8

Accessibility & contrast

On white

1.57
#C2DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C2DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DA42
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DA42#FFFFFF#000000##000000
##C2DA421.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE28
Deuteranopia (green-blind)
#E6CF4E
Tritanopia (blue-blind)
#CDCEBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2da42;
/* rgb */ color: rgb(194, 218, 66);
/* oklch */ color: oklch(84.3% 0.173 118.1);
Tailwind
colors: {
  custom: {
    50: '#d8e580',
    500: '#c2da42',
    950: '#000000',
  },
}
SCSS
$custom: #c2da42;
$custom-light: #d8e580;
$custom-dark: #000000;
JSON
{
  "hex": "#c2da42",
  "rgb": {
    "r": 194,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 69.474,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84336,
    "c": 0.17277,
    "h": 118.1
  },
  "luminance": 0.62005
}

Semantic roles & 50–950 ramp

primary
#C2DA42
secondary
#41338D
accent
#3EEA59
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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