#C1D542#C1D542

#C1D542 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.2% C 0.168 H 116.9°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#C1D542
RGBrgb(193, 213, 66)
HSLhsl(68, 64%, 55%)
HSVhsv(68, 69%, 84%)
CMYKcmyk(9.4%, 0%, 69%, 16.5%)
CIE-LABlab(81.47, -25.37, 66.77)
CIE-LCHlch(81.47, 71.43, 110.81°)
OKLaboklab(83.15% -0.0758 0.1494)
OKLCHoklch(83.15% 0.168 116.9)
XYZxyz(46.7710, 59.3199, 14.1392)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D542 #5642D5
analogous
#D59F42 #C1D542 #78D542
triadic
#C1D542 #42C1D5 #D542C1
tetradic
#C1D542 #42D59F #5642D5 #D54278
square
#C1D542 #42D59F #5642D5 #D54278
split-complementary
#C1D542 #4278D5 #9F42D5
monochromatic
#73801C #9FB228 #C1D542 #D1E074 #E2EBA6

Accessibility & contrast

On white

1.63
#C1D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#C1D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D542
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D542#FFFFFF#000000##000000
##C1D5421.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#CDC9B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c1d542;
/* rgb */ color: rgb(193, 213, 66);
/* oklch */ color: oklch(83.2% 0.168 116.9);
Tailwind
colors: {
  custom: {
    50: '#d7e17f',
    500: '#c1d542',
    950: '#000000',
  },
}
SCSS
$custom: #c1d542;
$custom-light: #d7e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d542",
  "rgb": {
    "r": 193,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 68.163,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83153,
    "c": 0.1675,
    "h": 116.9
  },
  "luminance": 0.59319
}

Semantic roles & 50–950 ramp

primary
#C1D542
secondary
#3F3487
accent
#41E758
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C1D542

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

Preview Lab → · Contrast checker → · Palette generator →

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