#C5CD72#C5CD72

#C5CD72 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.115 H 113.0°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C5CD72
RGBrgb(197, 205, 114)
HSLhsl(65, 48%, 63%)
HSVhsv(65, 44%, 80%)
CMYKcmyk(3.9%, 0%, 44.4%, 19.6%)
CIE-LABlab(80.04, -16.07, 44.19)
CIE-LCHlch(80.04, 47.02, 109.99°)
OKLaboklab(82.23% -0.0452 0.1062)
OKLCHoklch(82.23% 0.115 113)
XYZxyz(47.8952, 56.7486, 24.3468)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD72 #7A72CD
analogous
#CDA872 #C5CD72 #97CD72
triadic
#C5CD72 #72C5CD #CD72C5
tetradic
#C5CD72 #72CDA8 #7A72CD #CD7297
square
#C5CD72 #72CDA8 #7A72CD #CD7297
split-complementary
#C5CD72 #7297CD #A872CD
monochromatic
#899133 #B2BD45 #C5CD72 #D8DD9F #EAEDCC

Accessibility & contrast

On white

1.70
#C5CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#C5CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD72
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD72#FFFFFF#000000##000000
##C5CD721.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56A
Deuteranopia (green-blind)
#D9C876
Tritanopia (blue-blind)
#CFC4B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cd72;
/* rgb */ color: rgb(197, 205, 114);
/* oklch */ color: oklch(82.2% 0.115 113.0);
Tailwind
colors: {
  custom: {
    50: '#d8dc9c',
    500: '#c5cd72',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd72;
$custom-light: #d8dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd72",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 65.275,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8223,
    "c": 0.11545,
    "h": 113
  },
  "luminance": 0.56748
}

Semantic roles & 50–950 ramp

primary
#C5CD72
secondary
#524C97
accent
#2BBB37
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C5CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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