#C2D640#C2D640

#C2D640 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.4% C 0.170 H 116.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C2D640
RGBrgb(194, 214, 64)
HSLhsl(68, 65%, 55%)
HSVhsv(68, 70%, 84%)
CMYKcmyk(9.3%, 0%, 70.1%, 16.1%)
CIE-LABlab(81.80, -25.55, 67.85)
CIE-LCHlch(81.80, 72.50, 110.64°)
OKLaboklab(83.44% -0.0766 0.1513)
OKLCHoklch(83.44% 0.17 116.8)
XYZxyz(47.2212, 59.9332, 13.9302)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D640 #5440D6
analogous
#D69F40 #C2D640 #77D640
triadic
#C2D640 #40C2D6 #D640C2
tetradic
#C2D640 #40D69F #5440D6 #D64077
square
#C2D640 #40D69F #5440D6 #D64077
split-complementary
#C2D640 #4077D6 #9F40D6
monochromatic
#73801B #A0B226 #C2D640 #D2E172 #E2ECA5

Accessibility & contrast

On white

1.62
#C2D640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#C2D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D640
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D640#FFFFFF#000000##000000
##C2D6401.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#E3CC4C
Tritanopia (blue-blind)
#CECAB9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d640;
/* rgb */ color: rgb(194, 214, 64);
/* oklch */ color: oklch(83.4% 0.170 116.8);
Tailwind
colors: {
  custom: {
    50: '#d8e27e',
    500: '#c2d640',
    950: '#000000',
  },
}
SCSS
$custom: #c2d640;
$custom-light: #d8e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d640",
  "rgb": {
    "r": 194,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 68,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83436,
    "c": 0.16955,
    "h": 116.8
  },
  "luminance": 0.59933
}

Semantic roles & 50–950 ramp

primary
#C2D640
secondary
#3E3387
accent
#40E856
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D640

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

Preview Lab → · Contrast checker → · Palette generator →

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