#C2DB42#C2DB42

#C2DB42 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.6% C 0.174 H 118.4°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#C2DB42
RGBrgb(194, 219, 66)
HSLhsl(70, 68%, 56%)
HSVhsv(70, 70%, 86%)
CMYKcmyk(11.4%, 0%, 69.9%, 14.1%)
CIE-LABlab(83.19, -27.83, 68.51)
CIE-LCHlch(83.19, 73.94, 112.11°)
OKLaboklab(84.56% -0.0827 0.153)
OKLCHoklch(84.56% 0.174 118.4)
XYZxyz(48.5640, 62.5261, 14.6636)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DB42 #5B42DB
analogous
#DBA742 #C2DB42 #75DB42
triadic
#C2DB42 #42C2DB #DB42C2
tetradic
#C2DB42 #42DBA7 #5B42DB #DB4275
square
#C2DB42 #42DBA7 #5B42DB #DB4275
split-complementary
#C2DB42 #4275DB #A742DB
monochromatic
#77891A #A3BC24 #C2DB42 #D3E575 #E3EFA9

Accessibility & contrast

On white

1.55
#C2DB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#C2DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DB42
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DB42#FFFFFF#000000##000000
##C2DB421.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#CDCFBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c2db42;
/* rgb */ color: rgb(194, 219, 66);
/* oklch */ color: oklch(84.6% 0.174 118.4);
Tailwind
colors: {
  custom: {
    50: '#d8e680',
    500: '#c2db42',
    950: '#000000',
  },
}
SCSS
$custom: #c2db42;
$custom-light: #d8e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c2db42",
  "rgb": {
    "r": 194,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 69.804,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84558,
    "c": 0.1739,
    "h": 118.4
  },
  "luminance": 0.62526
}

Semantic roles & 50–950 ramp

primary
#C2DB42
secondary
#42338F
accent
#3DEB59
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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