#C2DB40#C2DB40

#C2DB40 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.5% C 0.175 H 118.3°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#C2DB40
RGBrgb(194, 219, 64)
HSLhsl(70, 68%, 55%)
HSVhsv(70, 71%, 86%)
CMYKcmyk(11.4%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.18, -27.93, 69.20)
CIE-LCHlch(83.18, 74.63, 111.98°)
OKLaboklab(84.54% -0.0831 0.1541)
OKLCHoklch(84.54% 0.175 118.3)
XYZxyz(48.5061, 62.5030, 14.3585)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DB40 #5940DB
analogous
#DBA640 #C2DB40 #75DB40
triadic
#C2DB40 #40C2DB #DB40C2
tetradic
#C2DB40 #40DBA6 #5940DB #DB4075
square
#C2DB40 #40DBA6 #5940DB #DB4075
split-complementary
#C2DB40 #4075DB #A640DB
monochromatic
#758719 #A2BB23 #C2DB40 #D2E573 #E3EEA7

Accessibility & contrast

On white

1.56
#C2DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#C2DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DB40
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DB40#FFFFFF#000000##000000
##C2DB401.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2db40;
/* rgb */ color: rgb(194, 219, 64);
/* oklch */ color: oklch(84.5% 0.175 118.3);
Tailwind
colors: {
  custom: {
    50: '#d8e67f',
    500: '#c2db40',
    950: '#000000',
  },
}
SCSS
$custom: #c2db40;
$custom-light: #d8e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2db40",
  "rgb": {
    "r": 194,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 69.677,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84544,
    "c": 0.17513,
    "h": 118.3
  },
  "luminance": 0.62503
}

Semantic roles & 50–950 ramp

primary
#C2DB40
secondary
#41328D
accent
#3DEB59
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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