#C5CD50#C5CD50

#C5CD50 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.147 H 112.7°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#C5CD50
RGBrgb(197, 205, 80)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 61%, 80%)
CMYKcmyk(3.9%, 0%, 61%, 19.6%)
CIE-LABlab(79.68, -18.97, 59.47)
CIE-LCHlch(79.68, 62.42, 107.69°)
OKLaboklab(81.83% -0.0568 0.1359)
OKLCHoklch(81.83% 0.147 112.7)
XYZxyz(46.3064, 56.1131, 15.9794)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD50 #5850CD
analogous
#CD9650 #C5CD50 #86CD50
triadic
#C5CD50 #50C5CD #CD50C5
tetradic
#C5CD50 #50CD96 #5850CD #CD5086
square
#C5CD50 #50CD96 #5850CD #CD5086
split-complementary
#C5CD50 #5086CD #9650CD
monochromatic
#797E24 #A6AE32 #C5CD50 #D5DB80 #E5E8AF

Accessibility & contrast

On white

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

On black

12.22
#C5CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD50
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD50#FFFFFF#000000##000000
##C5CD501.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC441
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#D1C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd50;
/* rgb */ color: rgb(197, 205, 80);
/* oklch */ color: oklch(81.8% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc86',
    500: '#c5cd50',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd50;
$custom-light: #d9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd50",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 63.84,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81826,
    "c": 0.14732,
    "h": 112.7
  },
  "luminance": 0.56112
}

Semantic roles & 50–950 ramp

primary
#C5CD50
secondary
#403B86
accent
#49DF53
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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