#C5DB40#C5DB40

#C5DB40 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 84.8% C 0.174 H 117.3°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#C5DB40
RGBrgb(197, 219, 64)
HSLhsl(69, 68%, 55%)
HSVhsv(69, 71%, 86%)
CMYKcmyk(10%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.39, -26.72, 69.48)
CIE-LCHlch(83.39, 74.44, 111.04°)
OKLaboklab(84.77% -0.08 0.1546)
OKLCHoklch(84.77% 0.174 117.3)
XYZxyz(49.2840, 62.9041, 14.3949)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DB40 #5640DB
analogous
#DBA340 #C5DB40 #77DB40
triadic
#C5DB40 #40C5DB #DB40C5
tetradic
#C5DB40 #40DBA3 #5640DB #DB4077
square
#C5DB40 #40DBA3 #5640DB #DB4077
split-complementary
#C5DB40 #4077DB #A340DB
monochromatic
#788719 #A5BB23 #C5DB40 #D5E573 #E4EEA7

Accessibility & contrast

On white

1.55
#C5DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#C5DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DB40
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DB40#FFFFFF#000000##000000
##C5DB401.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF24
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#D1CFBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c5db40;
/* rgb */ color: rgb(197, 219, 64);
/* oklch */ color: oklch(84.8% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#dae67f',
    500: '#c5db40',
    950: '#000000',
  },
}
SCSS
$custom: #c5db40;
$custom-light: #dae67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5db40",
  "rgb": {
    "r": 197,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 68.516,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84767,
    "c": 0.17409,
    "h": 117.3
  },
  "luminance": 0.62904
}

Semantic roles & 50–950 ramp

primary
#C5DB40
secondary
#3F328D
accent
#3DEB55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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