#C1D040#C1D040

#C1D040 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.0% C 0.163 H 115.2°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#C1D040
RGBrgb(193, 208, 64)
HSLhsl(66, 61%, 53%)
HSVhsv(66, 69%, 82%)
CMYKcmyk(7.2%, 0%, 69.2%, 18.4%)
CIE-LABlab(80.08, -23.07, 66.12)
CIE-LCHlch(80.08, 70.03, 109.23°)
OKLaboklab(82.03% -0.0696 0.1477)
OKLCHoklch(82.03% 0.163 115.2)
XYZxyz(45.4748, 56.8201, 13.4213)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D040 #4F40D0
analogous
#D09740 #C1D040 #79D040
triadic
#C1D040 #40C1D0 #D040C1
tetradic
#C1D040 #40D097 #4F40D0 #D04079
square
#C1D040 #40D097 #4F40D0 #D04079
split-complementary
#C1D040 #4079D0 #9740D0
monochromatic
#6F781E #9CA92A #C1D040 #D1DC71 #E1E8A2

Accessibility & contrast

On white

1.70
#C1D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#C1D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D040
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D040#FFFFFF#000000##000000
##C1D0401.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC628
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#CDC4B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c1d040;
/* rgb */ color: rgb(193, 208, 64);
/* oklch */ color: oklch(82.0% 0.163 115.2);
Tailwind
colors: {
  custom: {
    50: '#d7de7e',
    500: '#c1d040',
    950: '#000000',
  },
}
SCSS
$custom: #c1d040;
$custom-light: #d7de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d040",
  "rgb": {
    "r": 193,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 66.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82034,
    "c": 0.16325,
    "h": 115.2
  },
  "luminance": 0.56819
}

Semantic roles & 50–950 ramp

primary
#C1D040
secondary
#3C3480
accent
#44E455
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1D040

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

Preview Lab → · Contrast checker → · Palette generator →

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