#C5CD4C#C5CD4C

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

Color values

HEX#C5CD4C
RGBrgb(197, 205, 76)
HSLhsl(64, 56%, 55%)
HSVhsv(64, 63%, 80%)
CMYKcmyk(3.9%, 0%, 62.9%, 19.6%)
CIE-LABlab(79.65, -19.24, 61.10)
CIE-LCHlch(79.65, 64.06, 107.48°)
OKLaboklab(81.79% -0.0579 0.1388)
OKLCHoklch(81.79% 0.15 112.6)
XYZxyz(46.1630, 56.0557, 15.2241)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD4C #544CCD
analogous
#CD954C #C5CD4C #84CD4C
triadic
#C5CD4C #4CC5CD #CD4CC5
tetradic
#C5CD4C #4CCD95 #544CCD #CD4C84
square
#C5CD4C #4CCD95 #544CCD #CD4C84
split-complementary
#C5CD4C #4C84CD #954CCD
monochromatic
#767C23 #A4AC30 #C5CD4C #D5DA7C #E4E8AC

Accessibility & contrast

On white

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

On black

12.21
#C5CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD4C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD4C#FFFFFF#000000##000000
##C5CD4C1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd4c;
/* rgb */ color: rgb(197, 205, 76);
/* oklch */ color: oklch(81.8% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9dc84',
    500: '#c5cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd4c;
$custom-light: #d9dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd4c",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 63.721,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.15043,
    "h": 112.6
  },
  "luminance": 0.56055
}

Semantic roles & 50–950 ramp

primary
#C5CD4C
secondary
#3E3984
accent
#48E052
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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