#C5CD57#C5CD57

#C5CD57 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#C5CD57
RGBrgb(197, 205, 87)
HSLhsl(64, 54%, 57%)
HSVhsv(64, 58%, 80%)
CMYKcmyk(3.9%, 0%, 57.6%, 19.6%)
CIE-LABlab(79.74, -18.47, 56.51)
CIE-LCHlch(79.74, 59.45, 108.10°)
OKLaboklab(81.9% -0.0546 0.1305)
OKLCHoklch(81.9% 0.142 112.7)
XYZxyz(46.5787, 56.2220, 17.4132)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD57 #5F57CD
analogous
#CD9A57 #C5CD57 #8ACD57
triadic
#C5CD57 #57C5CD #CD57C5
tetradic
#C5CD57 #57CD9A #5F57CD #CD578A
square
#C5CD57 #57CD9A #5F57CD #CD578A
split-complementary
#C5CD57 #578ACD #9A57CD
monochromatic
#7C8327 #A9B235 #C5CD57 #D5DB86 #E6E9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD57#FFFFFF#000000##000000
##C5CD571.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)
#DBC44A
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#D1C2B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd57;
/* rgb */ color: rgb(197, 205, 87);
/* oklch */ color: oklch(81.9% 0.142 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc8b',
    500: '#c5cd57',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd57;
$custom-light: #d9dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd57",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 64.068,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81896,
    "c": 0.14151,
    "h": 112.7
  },
  "luminance": 0.56221
}

Semantic roles & 50–950 ramp

primary
#C5CD57
secondary
#433E8A
accent
#4ADD54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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