#C2D740#C2D740

#C2D740 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.7% C 0.171 H 117.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#C2D740
RGBrgb(194, 215, 64)
HSLhsl(68, 65%, 55%)
HSVhsv(68, 70%, 84%)
CMYKcmyk(9.8%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.08, -26.03, 68.12)
CIE-LCHlch(82.08, 72.92, 110.91°)
OKLaboklab(83.66% -0.0779 0.1519)
OKLCHoklch(83.66% 0.171 117.2)
XYZxyz(47.4751, 60.4409, 14.0148)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D740 #5540D7
analogous
#D7A040 #C2D740 #77D740
triadic
#C2D740 #40C2D7 #D740C2
tetradic
#C2D740 #40D7A0 #5540D7 #D74077
square
#C2D740 #40D7A0 #5540D7 #D74077
split-complementary
#C2D740 #4077D7 #A040D7
monochromatic
#73811B #A0B426 #C2D740 #D2E273 #E2ECA5

Accessibility & contrast

On white

1.60
#C2D740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#C2D740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D740
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D740#FFFFFF#000000##000000
##C2D7401.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC26
Deuteranopia (green-blind)
#E3CD4C
Tritanopia (blue-blind)
#CECBB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c2d740;
/* rgb */ color: rgb(194, 215, 64);
/* oklch */ color: oklch(83.7% 0.171 117.2);
Tailwind
colors: {
  custom: {
    50: '#d8e37e',
    500: '#c2d740',
    950: '#000000',
  },
}
SCSS
$custom: #c2d740;
$custom-light: #d8e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d740",
  "rgb": {
    "r": 194,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 68.344,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83657,
    "c": 0.17066,
    "h": 117.2
  },
  "luminance": 0.6044
}

Semantic roles & 50–950 ramp

primary
#C2D740
secondary
#3F3388
accent
#3FE857
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D740

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

Preview Lab → · Contrast checker → · Palette generator →

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