#C5D954#C5D954

#C5D954 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.5% C 0.158 H 117.1°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#C5D954
RGBrgb(197, 217, 84)
HSLhsl(69, 64%, 59%)
HSVhsv(69, 61%, 85%)
CMYKcmyk(9.2%, 0%, 61.3%, 14.9%)
CIE-LABlab(82.99, -24.55, 61.36)
CIE-LCHlch(82.99, 66.09, 111.81°)
OKLaboklab(84.49% -0.072 0.1405)
OKLCHoklch(84.49% 0.158 117.1)
XYZxyz(49.4400, 62.1367, 17.7749)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D954 #6854D9
analogous
#D9AB54 #C5D954 #83D954
triadic
#C5D954 #54C5D9 #D954C5
tetradic
#C5D954 #54D9AB #6854D9 #D95483
square
#C5D954 #54D9AB #6854D9 #D95483
split-complementary
#C5D954 #5483D9 #AB54D9
monochromatic
#819220 #ADC42C #C5D954 #D6E486 #E7EFB8

Accessibility & contrast

On white

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

On black

13.43
#C5D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D954
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D954#FFFFFF#000000##000000
##C5D9541.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE44
Deuteranopia (green-blind)
#E5CF5D
Tritanopia (blue-blind)
#D0CEBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5d954;
/* rgb */ color: rgb(197, 217, 84);
/* oklch */ color: oklch(84.5% 0.158 117.1);
Tailwind
colors: {
  custom: {
    50: '#d9e48a',
    500: '#c5d954',
    950: '#000000',
  },
}
SCSS
$custom: #c5d954;
$custom-light: #d9e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d954",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 69.023,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84487,
    "c": 0.15786,
    "h": 117.1
  },
  "luminance": 0.62136
}

Semantic roles & 50–950 ramp

primary
#C5D954
secondary
#483A97
accent
#41E75A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D954

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

Preview Lab → · Contrast checker → · Palette generator →

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