#C5DB54#C5DB54

#C5DB54 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 84.9% C 0.160 H 117.8°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#C5DB54
RGBrgb(197, 219, 84)
HSLhsl(70, 65%, 59%)
HSVhsv(70, 62%, 86%)
CMYKcmyk(10%, 0%, 61.6%, 14.1%)
CIE-LABlab(83.53, -25.51, 61.95)
CIE-LCHlch(83.53, 67.00, 112.38°)
OKLaboklab(84.93% -0.0747 0.1417)
OKLCHoklch(84.93% 0.16 117.8)
XYZxyz(49.9586, 63.1739, 17.9477)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DB54 #6A54DB
analogous
#DBAE54 #C5DB54 #82DB54
triadic
#C5DB54 #54C5DB #DB54C5
tetradic
#C5DB54 #54DBAE #6A54DB #DB5482
square
#C5DB54 #54DBAE #6A54DB #DB5482
split-complementary
#C5DB54 #5482DB #AE54DB
monochromatic
#82951F #AEC82A #C5DB54 #D6E687 #E7F0B9

Accessibility & contrast

On white

1.54
#C5DB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#C5DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DB54
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DB54#FFFFFF#000000##000000
##C5DB541.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D044
Deuteranopia (green-blind)
#E6D15D
Tritanopia (blue-blind)
#D0D0BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c5db54;
/* rgb */ color: rgb(197, 219, 84);
/* oklch */ color: oklch(84.9% 0.160 117.8);
Tailwind
colors: {
  custom: {
    50: '#d9e68a',
    500: '#c5db54',
    950: '#000000',
  },
}
SCSS
$custom: #c5db54;
$custom-light: #d9e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5db54",
  "rgb": {
    "r": 197,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 69.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84927,
    "c": 0.16021,
    "h": 117.8
  },
  "luminance": 0.63173
}

Semantic roles & 50–950 ramp

primary
#C5DB54
secondary
#49399A
accent
#40E85B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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