#C1D240#C1D240

#C1D240 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.5% C 0.165 H 115.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#C1D240
RGBrgb(193, 210, 64)
HSLhsl(67, 62%, 54%)
HSVhsv(67, 70%, 82%)
CMYKcmyk(8.1%, 0%, 69.5%, 17.6%)
CIE-LABlab(80.63, -24.04, 66.66)
CIE-LCHlch(80.63, 70.86, 109.83°)
OKLaboklab(82.48% -0.0723 0.1488)
OKLCHoklch(82.48% 0.165 115.9)
XYZxyz(45.9655, 57.8015, 13.5849)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D240 #5140D2
analogous
#D29A40 #C1D240 #78D240
triadic
#C1D240 #40C1D2 #D240C1
tetradic
#C1D240 #40D29A #5140D2 #D24078
square
#C1D240 #40D29A #5140D2 #D24078
split-complementary
#C1D240 #4078D2 #9A40D2
monochromatic
#707B1D #9DAC29 #C1D240 #D1DE72 #E1E9A3

Accessibility & contrast

On white

1.67
#C1D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#C1D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D240
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D240#FFFFFF#000000##000000
##C1D2401.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#CDC6B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c1d240;
/* rgb */ color: rgb(193, 210, 64);
/* oklch */ color: oklch(82.5% 0.165 115.9);
Tailwind
colors: {
  custom: {
    50: '#d7df7e',
    500: '#c1d240',
    950: '#000000',
  },
}
SCSS
$custom: #c1d240;
$custom-light: #d7df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d240",
  "rgb": {
    "r": 193,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 66.986,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82476,
    "c": 0.16545,
    "h": 115.9
  },
  "luminance": 0.57801
}

Semantic roles & 50–950 ramp

primary
#C1D240
secondary
#3D3483
accent
#43E556
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1D240

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

Preview Lab → · Contrast checker → · Palette generator →

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