#C1DB31#C1DB31

#C1DB31 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.4% C 0.184 H 118.4°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#C1DB31
RGBrgb(193, 219, 49)
HSLhsl(69, 70%, 53%)
HSVhsv(69, 78%, 86%)
CMYKcmyk(11.9%, 0%, 77.6%, 14.1%)
CIE-LABlab(83.03, -29.02, 73.82)
CIE-LCHlch(83.03, 79.32, 111.46°)
OKLaboklab(84.38% -0.0873 0.1615)
OKLCHoklch(84.38% 0.184 118.4)
XYZxyz(47.8793, 62.2227, 12.3930)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1DB31 #4B31DB
analogous
#DBA031 #C1DB31 #6CDB31
triadic
#C1DB31 #31C1DB #DB31C1
tetradic
#C1DB31 #31DBA0 #4B31DB #DB316C
square
#C1DB31 #31DBA0 #4B31DB #DB316C
split-complementary
#C1DB31 #316CDB #A031DB
monochromatic
#6C7C16 #9AB01F #C1DB31 #D1E465 #E0ED99

Accessibility & contrast

On white

1.56
#C1DB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#C1DB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1DB31
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1DB31#FFFFFF#000000##000000
##C1DB311.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF00
Deuteranopia (green-blind)
#E7CF42
Tritanopia (blue-blind)
#CDCFBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c1db31;
/* rgb */ color: rgb(193, 219, 49);
/* oklch */ color: oklch(84.4% 0.184 118.4);
Tailwind
colors: {
  custom: {
    50: '#d8e678',
    500: '#c1db31',
    950: '#000000',
  },
}
SCSS
$custom: #c1db31;
$custom-light: #d8e678;
$custom-dark: #000000;
JSON
{
  "hex": "#c1db31",
  "rgb": {
    "r": 193,
    "g": 219,
    "b": 49
  },
  "hsl": {
    "h": 69.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.84382,
    "c": 0.18355,
    "h": 118.4
  },
  "luminance": 0.62222
}

Semantic roles & 50–950 ramp

primary
#C1DB31
secondary
#3A2D83
accent
#3BED56
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1DB31

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

Preview Lab → · Contrast checker → · Palette generator →

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