#C1D840#C1D840

#C1D840 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 83.8% C 0.172 H 117.8°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#C1D840
RGBrgb(193, 216, 64)
HSLhsl(69, 66%, 55%)
HSVhsv(69, 70%, 85%)
CMYKcmyk(10.6%, 0%, 70.4%, 15.3%)
CIE-LABlab(82.28, -26.91, 68.30)
CIE-LCHlch(82.28, 73.41, 111.51°)
OKLaboklab(83.8% -0.0803 0.1523)
OKLCHoklch(83.8% 0.172 117.8)
XYZxyz(47.4746, 60.8198, 14.0879)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D840 #5740D8
analogous
#D8A340 #C1D840 #75D840
triadic
#C1D840 #40C1D8 #D840C1
tetradic
#C1D840 #40D8A3 #5740D8 #D84075
square
#C1D840 #40D8A3 #5740D8 #D84075
split-complementary
#C1D840 #4075D8 #A340D8
monochromatic
#73831B #A0B625 #C1D840 #D1E273 #E2EDA6

Accessibility & contrast

On white

1.60
#C1D840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#C1D840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D840
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D840#FFFFFF#000000##000000
##C1D8401.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC25
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#CDCCBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c1d840;
/* rgb */ color: rgb(193, 216, 64);
/* oklch */ color: oklch(83.8% 0.172 117.8);
Tailwind
colors: {
  custom: {
    50: '#d7e47e',
    500: '#c1d840',
    950: '#000000',
  },
}
SCSS
$custom: #c1d840;
$custom-light: #d7e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d840",
  "rgb": {
    "r": 193,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 69.079,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83804,
    "c": 0.17211,
    "h": 117.8
  },
  "luminance": 0.60819
}

Semantic roles & 50–950 ramp

primary
#C1D840
secondary
#40338A
accent
#3FE959
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C1D840

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

Preview Lab → · Contrast checker → · Palette generator →

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