#C5CD56#C5CD56

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

Color values

HEX#C5CD56
RGBrgb(197, 205, 86)
HSLhsl(64, 54%, 57%)
HSVhsv(64, 58%, 80%)
CMYKcmyk(3.9%, 0%, 58%, 19.6%)
CIE-LABlab(79.73, -18.54, 56.94)
CIE-LCHlch(79.73, 59.88, 108.04°)
OKLaboklab(81.88% -0.0549 0.1313)
OKLCHoklch(81.88% 0.142 112.7)
XYZxyz(46.5381, 56.2058, 17.1995)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD56 #5E56CD
analogous
#CD9A56 #C5CD56 #89CD56
triadic
#C5CD56 #56C5CD #CD56C5
tetradic
#C5CD56 #56CD9A #5E56CD #CD5689
square
#C5CD56 #56CD9A #5E56CD #CD5689
split-complementary
#C5CD56 #5689CD #9A56CD
monochromatic
#7C8226 #A9B134 #C5CD56 #D5DB85 #E5E9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD56#FFFFFF#000000##000000
##C5CD561.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)
#DBC449
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#D1C2B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd56;
/* rgb */ color: rgb(197, 205, 86);
/* oklch */ color: oklch(81.9% 0.142 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc8a',
    500: '#c5cd56',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd56;
$custom-light: #d9dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd56",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 64.034,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.14237,
    "h": 112.7
  },
  "luminance": 0.56205
}

Semantic roles & 50–950 ramp

primary
#C5CD56
secondary
#433E89
accent
#4ADE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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