#C1D842#C1D842

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

Color values

HEX#C1D842
RGBrgb(193, 216, 66)
HSLhsl(69, 66%, 55%)
HSVhsv(69, 69%, 85%)
CMYKcmyk(10.6%, 0%, 69.4%, 15.3%)
CIE-LABlab(82.29, -26.81, 67.59)
CIE-LCHlch(82.29, 72.71, 111.63°)
OKLaboklab(83.82% -0.0798 0.1511)
OKLCHoklch(83.82% 0.171 117.8)
XYZxyz(47.5326, 60.8430, 14.3931)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D842 #5942D8
analogous
#D8A442 #C1D842 #76D842
triadic
#C1D842 #42C1D8 #D842C1
tetradic
#C1D842 #42D8A4 #5942D8 #D84276
square
#C1D842 #42D8A4 #5942D8 #D84276
split-complementary
#C1D842 #4276D8 #A442D8
monochromatic
#74841B #A1B726 #C1D842 #D2E275 #E2EDA7

Accessibility & contrast

On white

1.59
#C1D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#C1D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D842
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D842#FFFFFF#000000##000000
##C1D8421.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC29
Deuteranopia (green-blind)
#E4CD4E
Tritanopia (blue-blind)
#CCCCBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c1d842;
/* rgb */ color: rgb(193, 216, 66);
/* oklch */ color: oklch(83.8% 0.171 117.8);
Tailwind
colors: {
  custom: {
    50: '#d7e47f',
    500: '#c1d842',
    950: '#000000',
  },
}
SCSS
$custom: #c1d842;
$custom-light: #d7e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d842",
  "rgb": {
    "r": 193,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 69.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83818,
    "c": 0.17087,
    "h": 117.8
  },
  "luminance": 0.60843
}

Semantic roles & 50–950 ramp

primary
#C1D842
secondary
#41338B
accent
#3FE959
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C1D842

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

Preview Lab → · Contrast checker → · Palette generator →

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