#C5CD59#C5CD59

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

Color values

HEX#C5CD59
RGBrgb(197, 205, 89)
HSLhsl(64, 54%, 58%)
HSVhsv(64, 57%, 80%)
CMYKcmyk(3.9%, 0%, 56.6%, 19.6%)
CIE-LABlab(79.76, -18.32, 55.64)
CIE-LCHlch(79.76, 58.58, 108.22°)
OKLaboklab(81.92% -0.054 0.1289)
OKLCHoklch(81.92% 0.14 112.7)
XYZxyz(46.6615, 56.2551, 17.8495)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD59 #6159CD
analogous
#CD9B59 #C5CD59 #8BCD59
triadic
#C5CD59 #59C5CD #CD59C5
tetradic
#C5CD59 #59CD9B #6159CD #CD598B
square
#C5CD59 #59CD9B #6159CD #CD598B
split-complementary
#C5CD59 #598BCD #9B59CD
monochromatic
#7E8428 #AAB336 #C5CD59 #D5DB88 #E6E9B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD59#FFFFFF#000000##000000
##C5CD591.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)
#DBC44D
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#D1C2B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd59;
/* rgb */ color: rgb(197, 205, 89);
/* oklch */ color: oklch(81.9% 0.140 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc8c',
    500: '#c5cd59',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd59;
$custom-light: #d9dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd59",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 64.138,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81917,
    "c": 0.13978,
    "h": 112.7
  },
  "luminance": 0.56254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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