#C1DF40#C1DF40

#C1DF40 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.4% C 0.180 H 119.8°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#C1DF40
RGBrgb(193, 223, 64)
HSLhsl(71, 71%, 56%)
HSVhsv(71, 71%, 87%)
CMYKcmyk(13.5%, 0%, 71.3%, 12.5%)
CIE-LABlab(84.22, -30.22, 70.19)
CIE-LCHlch(84.22, 76.42, 113.29°)
OKLaboklab(85.36% -0.0894 0.1562)
OKLCHoklch(85.36% 0.18 119.8)
XYZxyz(49.3063, 64.4832, 14.6985)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1DF40 #5E40DF
analogous
#DFAE40 #C1DF40 #72DF40
triadic
#C1DF40 #40C1DF #DF40C1
tetradic
#C1DF40 #40DFAE #5E40DF #DF4072
square
#C1DF40 #40DFAE #5E40DF #DF4072
split-complementary
#C1DF40 #4072DF #AE40DF
monochromatic
#778D18 #A3C120 #C1DF40 #D2E874 #E3F1A9

Accessibility & contrast

On white

1.51
#C1DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#C1DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1DF40
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1DF40#FFFFFF#000000##000000
##C1DF401.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD222
Deuteranopia (green-blind)
#EAD34D
Tritanopia (blue-blind)
#CCD3C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c1df40;
/* rgb */ color: rgb(193, 223, 64);
/* oklch */ color: oklch(85.4% 0.180 119.8);
Tailwind
colors: {
  custom: {
    50: '#d7e97f',
    500: '#c1df40',
    950: '#000000',
  },
}
SCSS
$custom: #c1df40;
$custom-light: #d7e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#c1df40",
  "rgb": {
    "r": 193,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 71.321,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85361,
    "c": 0.18001,
    "h": 119.8
  },
  "luminance": 0.64483
}

Semantic roles & 50–950 ramp

primary
#C1DF40
secondary
#433192
accent
#3AEE5C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C1DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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