#C5CD58#C5CD58

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

Color values

HEX#C5CD58
RGBrgb(197, 205, 88)
HSLhsl(64, 54%, 57%)
HSVhsv(64, 57%, 80%)
CMYKcmyk(3.9%, 0%, 57.1%, 19.6%)
CIE-LABlab(79.75, -18.39, 56.08)
CIE-LCHlch(79.75, 59.02, 108.16°)
OKLaboklab(81.91% -0.0543 0.1297)
OKLCHoklch(81.91% 0.141 112.7)
XYZxyz(46.6198, 56.2384, 17.6299)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD58 #6058CD
analogous
#CD9B58 #C5CD58 #8ACD58
triadic
#C5CD58 #58C5CD #CD58C5
tetradic
#C5CD58 #58CD9B #6058CD #CD588A
square
#C5CD58 #58CD9B #6058CD #CD588A
split-complementary
#C5CD58 #588ACD #9B58CD
monochromatic
#7D8327 #AAB235 #C5CD58 #D5DB87 #E6E9B6

Accessibility & contrast

On white

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

On black

12.25
#C5CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD58
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD58#FFFFFF#000000##000000
##C5CD581.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cd58;
/* rgb */ color: rgb(197, 205, 88);
/* oklch */ color: oklch(81.9% 0.141 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc8b',
    500: '#c5cd58',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd58;
$custom-light: #d9dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd58",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 64.103,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81906,
    "c": 0.14065,
    "h": 112.7
  },
  "luminance": 0.56238
}

Semantic roles & 50–950 ramp

primary
#C5CD58
secondary
#443F8B
accent
#4BDD55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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