#C1D540#C1D540

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

Color values

HEX#C1D540
RGBrgb(193, 213, 64)
HSLhsl(68, 64%, 54%)
HSVhsv(68, 70%, 84%)
CMYKcmyk(9.4%, 0%, 70%, 16.5%)
CIE-LABlab(81.45, -25.48, 67.48)
CIE-LCHlch(81.45, 72.13, 110.69°)
OKLaboklab(83.14% -0.0763 0.1505)
OKLCHoklch(83.14% 0.169 116.9)
XYZxyz(46.7131, 59.2967, 13.8341)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D540 #5440D5
analogous
#D59F40 #C1D540 #77D540
triadic
#C1D540 #40C1D5 #D540C1
tetradic
#C1D540 #40D59F #5440D5 #D54077
square
#C1D540 #40D59F #5440D5 #D54077
split-complementary
#C1D540 #4077D5 #9F40D5
monochromatic
#717F1C #9EB127 #C1D540 #D1E072 #E2EBA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1D540#FFFFFF#000000##000000
##C1D5401.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)
#E3CA27
Deuteranopia (green-blind)
#E2CB4C
Tritanopia (blue-blind)
#CDC9B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c1d540;
/* rgb */ color: rgb(193, 213, 64);
/* oklch */ color: oklch(83.1% 0.169 116.9);
Tailwind
colors: {
  custom: {
    50: '#d7e17e',
    500: '#c1d540',
    950: '#000000',
  },
}
SCSS
$custom: #c1d540;
$custom-light: #d7e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d540",
  "rgb": {
    "r": 193,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 68.054,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83139,
    "c": 0.16877,
    "h": 116.9
  },
  "luminance": 0.59296
}

Semantic roles & 50–950 ramp

primary
#C1D540
secondary
#3E3386
accent
#41E757
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C1D540

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

Preview Lab → · Contrast checker → · Palette generator →

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