#C5CD55#C5CD55

#C5CD55 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.143 H 112.7°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C5CD55
RGBrgb(197, 205, 85)
HSLhsl(64, 55%, 57%)
HSVhsv(64, 59%, 80%)
CMYKcmyk(3.9%, 0%, 58.5%, 19.6%)
CIE-LABlab(79.72, -18.62, 57.37)
CIE-LCHlch(79.72, 60.31, 107.98°)
OKLaboklab(81.88% -0.0553 0.1321)
OKLCHoklch(81.88% 0.143 112.7)
XYZxyz(46.4981, 56.1898, 16.9888)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD55 #5D55CD
analogous
#CD9955 #C5CD55 #89CD55
triadic
#C5CD55 #55C5CD #CD55C5
tetradic
#C5CD55 #55CD99 #5D55CD #CD5589
square
#C5CD55 #55CD99 #5D55CD #CD5589
split-complementary
#C5CD55 #5589CD #9955CD
monochromatic
#7B8226 #A8B134 #C5CD55 #D5DB84 #E5E9B4

Accessibility & contrast

On white

1.72
#C5CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#C5CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD55
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD55#FFFFFF#000000##000000
##C5CD551.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#D1C2B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd55;
/* rgb */ color: rgb(197, 205, 85);
/* oklch */ color: oklch(81.9% 0.143 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc89',
    500: '#c5cd55',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd55;
$custom-light: #d9dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd55",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 64,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81875,
    "c": 0.14322,
    "h": 112.7
  },
  "luminance": 0.56189
}

Semantic roles & 50–950 ramp

primary
#C5CD55
secondary
#423D89
accent
#4ADE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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