#C5D54D#C5D54D

#C5D54D is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.5% C 0.159 H 115.6°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#C5D54D
RGBrgb(197, 213, 77)
HSLhsl(67, 62%, 57%)
HSVhsv(67, 64%, 84%)
CMYKcmyk(7.5%, 0%, 63.8%, 16.5%)
CIE-LABlab(81.84, -23.09, 63.00)
CIE-LCHlch(81.84, 67.10, 110.13°)
OKLaboklab(83.55% -0.0686 0.143)
OKLCHoklch(83.55% 0.159 115.6)
XYZxyz(48.1609, 59.9953, 16.0629)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D54D #5D4DD5
analogous
#D5A14D #C5D54D #81D54D
triadic
#C5D54D #4DC5D5 #D54DC5
tetradic
#C5D54D #4DD5A1 #5D4DD5 #D54D81
square
#C5D54D #4DD5A1 #5D4DD5 #D54D81
split-complementary
#C5D54D #4D81D5 #A14DD5
monochromatic
#7B8820 #A8B92C #C5D54D #D5E17F #E5ECB0

Accessibility & contrast

On white

1.62
#C5D54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#C5D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D54D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D54D#FFFFFF#000000##000000
##C5D54D1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3B
Deuteranopia (green-blind)
#E2CD56
Tritanopia (blue-blind)
#D1C9B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d54d;
/* rgb */ color: rgb(197, 213, 77);
/* oklch */ color: oklch(83.5% 0.159 115.6);
Tailwind
colors: {
  custom: {
    50: '#dae185',
    500: '#c5d54d',
    950: '#000000',
  },
}
SCSS
$custom: #c5d54d;
$custom-light: #dae185;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d54d",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 67.059,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83546,
    "c": 0.15861,
    "h": 115.6
  },
  "luminance": 0.59995
}

Semantic roles & 50–950 ramp

primary
#C5D54D
secondary
#42388E
accent
#43E556
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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