#C5CD52#C5CD52

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

Color values

HEX#C5CD52
RGBrgb(197, 205, 82)
HSLhsl(64, 55%, 56%)
HSVhsv(64, 60%, 80%)
CMYKcmyk(3.9%, 0%, 60%, 19.6%)
CIE-LABlab(79.70, -18.83, 58.63)
CIE-LCHlch(79.70, 61.59, 107.81°)
OKLaboklab(81.85% -0.0562 0.1344)
OKLCHoklch(81.85% 0.146 112.7)
XYZxyz(46.3814, 56.1431, 16.3744)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD52 #5A52CD
analogous
#CD9852 #C5CD52 #88CD52
triadic
#C5CD52 #52C5CD #CD52C5
tetradic
#C5CD52 #52CD98 #5A52CD #CD5288
square
#C5CD52 #52CD98 #5A52CD #CD5288
split-complementary
#C5CD52 #5288CD #9852CD
monochromatic
#7A8025 #A7AF33 #C5CD52 #D5DB81 #E5E8B1

Accessibility & contrast

On white

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

On black

12.23
#C5CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD52
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD52#FFFFFF#000000##000000
##C5CD521.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#D1C2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd52;
/* rgb */ color: rgb(197, 205, 82);
/* oklch */ color: oklch(81.8% 0.146 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc88',
    500: '#c5cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd52;
$custom-light: #d9dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd52",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 63.902,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81845,
    "c": 0.1457,
    "h": 112.7
  },
  "luminance": 0.56142
}

Semantic roles & 50–950 ramp

primary
#C5CD52
secondary
#413C87
accent
#49DE53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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