#C5CD5D#C5CD5D

#C5CD5D is a light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.136 H 112.8°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C5CD5D
RGBrgb(197, 205, 93)
HSLhsl(64, 53%, 58%)
HSVhsv(64, 55%, 80%)
CMYKcmyk(3.9%, 0%, 54.6%, 19.6%)
CIE-LABlab(79.80, -18.00, 53.88)
CIE-LCHlch(79.80, 56.81, 108.47°)
OKLaboklab(81.96% -0.0527 0.1256)
OKLCHoklch(81.96% 0.136 112.8)
XYZxyz(46.8341, 56.3242, 18.7583)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD5D #655DCD
analogous
#CD9D5D #C5CD5D #8DCD5D
triadic
#C5CD5D #5DC5CD #CD5DC5
tetradic
#C5CD5D #5DCD9D #655DCD #CD5D8D
square
#C5CD5D #5DCD9D #655DCD #CD5D8D
split-complementary
#C5CD5D #5D8DCD #9D5DCD
monochromatic
#808629 #ACB538 #C5CD5D #D6DB8C #E6EABB

Accessibility & contrast

On white

1.71
#C5CD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#C5CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD5D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD5D#FFFFFF#000000##000000
##C5CD5D1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC452
Deuteranopia (green-blind)
#DBC763
Tritanopia (blue-blind)
#D1C2B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd5d;
/* rgb */ color: rgb(197, 205, 93);
/* oklch */ color: oklch(82.0% 0.136 112.8);
Tailwind
colors: {
  custom: {
    50: '#d9dc8e',
    500: '#c5cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd5d;
$custom-light: #d9dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd5d",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 64.286,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81961,
    "c": 0.13621,
    "h": 112.8
  },
  "luminance": 0.56323
}

Semantic roles & 50–950 ramp

primary
#C5CD5D
secondary
#46418D
accent
#4CDC56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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