#C5CD5C#C5CD5C

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

Color values

HEX#C5CD5C
RGBrgb(197, 205, 92)
HSLhsl(64, 53%, 58%)
HSVhsv(64, 55%, 80%)
CMYKcmyk(3.9%, 0%, 55.1%, 19.6%)
CIE-LABlab(79.79, -18.08, 54.33)
CIE-LCHlch(79.79, 57.26, 108.41°)
OKLaboklab(81.95% -0.053 0.1265)
OKLCHoklch(81.95% 0.137 112.7)
XYZxyz(46.7901, 56.3066, 18.5266)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD5C #645CCD
analogous
#CD9C5C #C5CD5C #8CCD5C
triadic
#C5CD5C #5CC5CD #CD5CC5
tetradic
#C5CD5C #5CCD9C #645CCD #CD5C8C
square
#C5CD5C #5CCD9C #645CCD #CD5C8C
split-complementary
#C5CD5C #5C8CCD #9C5CCD
monochromatic
#7F8629 #ACB437 #C5CD5C #D6DB8B #E6EABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD5C#FFFFFF#000000##000000
##C5CD5C1.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)
#DBC450
Deuteranopia (green-blind)
#DBC762
Tritanopia (blue-blind)
#D1C2B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd5c;
/* rgb */ color: rgb(197, 205, 92);
/* oklch */ color: oklch(82.0% 0.137 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc8e',
    500: '#c5cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd5c;
$custom-light: #d9dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd5c",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 64.248,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8195,
    "c": 0.13711,
    "h": 112.7
  },
  "luminance": 0.56306
}

Semantic roles & 50–950 ramp

primary
#C5CD5C
secondary
#46408D
accent
#4BDC56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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