#C1D940#C1D940

#C1D940 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.0% C 0.173 H 118.1°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#C1D940
RGBrgb(193, 217, 64)
HSLhsl(69, 67%, 55%)
HSVhsv(69, 71%, 85%)
CMYKcmyk(11.1%, 0%, 70.5%, 14.9%)
CIE-LABlab(82.56, -27.39, 68.57)
CIE-LCHlch(82.56, 73.83, 111.77°)
OKLaboklab(84.03% -0.0816 0.1528)
OKLCHoklch(84.03% 0.173 118.1)
XYZxyz(47.7316, 61.3338, 14.1736)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D940 #5840D9
analogous
#D9A540 #C1D940 #74D940
triadic
#C1D940 #40C1D9 #D940C1
tetradic
#C1D940 #40D9A5 #5840D9 #D94074
square
#C1D940 #40D9A5 #5840D9 #D94074
split-complementary
#C1D940 #4074D9 #A540D9
monochromatic
#74841A #A0B724 #C1D940 #D2E373 #E2EDA6

Accessibility & contrast

On white

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

On black

13.27
#C1D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D940
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D940#FFFFFF#000000##000000
##C1D9401.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD25
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#CCCDBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c1d940;
/* rgb */ color: rgb(193, 217, 64);
/* oklch */ color: oklch(84.0% 0.173 118.1);
Tailwind
colors: {
  custom: {
    50: '#d7e47e',
    500: '#c1d940',
    950: '#000000',
  },
}
SCSS
$custom: #c1d940;
$custom-light: #d7e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d940",
  "rgb": {
    "r": 193,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 69.412,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84026,
    "c": 0.17324,
    "h": 118.1
  },
  "luminance": 0.61333
}

Semantic roles & 50–950 ramp

primary
#C1D940
secondary
#40328B
accent
#3EEA59
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C1D940

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

Preview Lab → · Contrast checker → · Palette generator →

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