#C5CD87#C5CD87

#C5CD87 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.092 H 113.7°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#C5CD87
RGBrgb(197, 205, 135)
HSLhsl(67, 41%, 67%)
HSVhsv(67, 34%, 80%)
CMYKcmyk(3.9%, 0%, 34.1%, 19.6%)
CIE-LABlab(80.34, -13.71, 33.99)
CIE-LCHlch(80.34, 36.65, 111.96°)
OKLaboklab(82.57% -0.037 0.0841)
OKLCHoklch(82.57% 0.092 113.7)
XYZxyz(49.2306, 57.2828, 31.3802)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD87 #8F87CD
analogous
#CDB287 #C5CD87 #A2CD87
triadic
#C5CD87 #87C5CD #CD87C5
tetradic
#C5CD87 #87CDB2 #8F87CD #CD87A2
square
#C5CD87 #87CDB2 #8F87CD #CD87A2
split-complementary
#C5CD87 #87A2CD #B287CD
monochromatic
#8F9A40 #B0BB5C #C5CD87 #DADFB2 #EFF1DD

Accessibility & contrast

On white

1.69
#C5CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#C5CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD87
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD87#FFFFFF#000000##000000
##C5CD871.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C782
Deuteranopia (green-blind)
#D6C88A
Tritanopia (blue-blind)
#CDC5BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cd87;
/* rgb */ color: rgb(197, 205, 135);
/* oklch */ color: oklch(82.6% 0.092 113.7);
Tailwind
colors: {
  custom: {
    50: '#d7dcaa',
    500: '#c5cd87',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd87;
$custom-light: #d7dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd87",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 66.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82567,
    "c": 0.09182,
    "h": 113.7
  },
  "luminance": 0.57282
}

Semantic roles & 50–950 ramp

primary
#C5CD87
secondary
#6158A0
accent
#31B440
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#141510
muted
#838481

Preview Lab

Preview with #C5CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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