#C2D942#C2D942

#C2D942 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.1% C 0.172 H 117.8°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#C2D942
RGBrgb(194, 217, 66)
HSLhsl(69, 67%, 55%)
HSVhsv(69, 70%, 85%)
CMYKcmyk(10.6%, 0%, 69.6%, 14.9%)
CIE-LABlab(82.64, -26.88, 67.96)
CIE-LCHlch(82.64, 73.08, 111.58°)
OKLaboklab(84.11% -0.08 0.1518)
OKLCHoklch(84.11% 0.172 117.8)
XYZxyz(48.0454, 61.4889, 14.4907)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D942 #5942D9
analogous
#D9A442 #C2D942 #76D942
triadic
#C2D942 #42C2D9 #D942C2
tetradic
#C2D942 #42D9A4 #5942D9 #D94276
square
#C2D942 #42D9A4 #5942D9 #D94276
split-complementary
#C2D942 #4276D9 #A442D9
monochromatic
#75861B #A2B925 #C2D942 #D2E375 #E3EDA8

Accessibility & contrast

On white

1.58
#C2D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#C2D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D942
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D942#FFFFFF#000000##000000
##C2D9421.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E5CE4E
Tritanopia (blue-blind)
#CECDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2d942;
/* rgb */ color: rgb(194, 217, 66);
/* oklch */ color: oklch(84.1% 0.172 117.8);
Tailwind
colors: {
  custom: {
    50: '#d8e47f',
    500: '#c2d942',
    950: '#000000',
  },
}
SCSS
$custom: #c2d942;
$custom-light: #d8e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d942",
  "rgb": {
    "r": 194,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 69.139,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84114,
    "c": 0.17165,
    "h": 117.8
  },
  "luminance": 0.61488
}

Semantic roles & 50–950 ramp

primary
#C2D942
secondary
#41338C
accent
#3EE958
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D942

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

Preview Lab → · Contrast checker → · Palette generator →

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