#C5DA54#C5DA54

#C5DA54 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.7% C 0.159 H 117.5°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#C5DA54
RGBrgb(197, 218, 84)
HSLhsl(69, 64%, 59%)
HSVhsv(69, 61%, 85%)
CMYKcmyk(9.6%, 0%, 61.5%, 14.5%)
CIE-LABlab(83.26, -25.03, 61.66)
CIE-LCHlch(83.26, 66.54, 112.10°)
OKLaboklab(84.71% -0.0734 0.1411)
OKLCHoklch(84.71% 0.159 117.5)
XYZxyz(49.6985, 62.6537, 17.8610)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DA54 #6954DA
analogous
#DAAC54 #C5DA54 #82DA54
triadic
#C5DA54 #54C5DA #DA54C5
tetradic
#C5DA54 #54DAAC #6954DA #DA5482
square
#C5DA54 #54DAAC #6954DA #DA5482
split-complementary
#C5DA54 #5482DA #AC54DA
monochromatic
#829420 #AEC62B #C5DA54 #D6E586 #E7F0B9

Accessibility & contrast

On white

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

On black

13.53
#C5DA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DA54
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DA54#FFFFFF#000000##000000
##C5DA541.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#D0CFBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5da54;
/* rgb */ color: rgb(197, 218, 84);
/* oklch */ color: oklch(84.7% 0.159 117.5);
Tailwind
colors: {
  custom: {
    50: '#d9e58a',
    500: '#c5da54',
    950: '#000000',
  },
}
SCSS
$custom: #c5da54;
$custom-light: #d9e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5da54",
  "rgb": {
    "r": 197,
    "g": 218,
    "b": 84
  },
  "hsl": {
    "h": 69.403,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84707,
    "c": 0.15904,
    "h": 117.5
  },
  "luminance": 0.62653
}

Semantic roles & 50–950 ramp

primary
#C5DA54
secondary
#493A98
accent
#40E75B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5DA54

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

Preview Lab → · Contrast checker → · Palette generator →

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