#C4CD87#C4CD87

#C4CD87 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.092 H 114.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#C4CD87
RGBrgb(196, 205, 135)
HSLhsl(68, 41%, 67%)
HSVhsv(68, 34%, 80%)
CMYKcmyk(4.4%, 0%, 34.1%, 19.6%)
CIE-LABlab(80.26, -14.09, 33.88)
CIE-LCHlch(80.26, 36.69, 112.58°)
OKLaboklab(82.49% -0.038 0.0838)
OKLCHoklch(82.49% 0.092 114.4)
XYZxyz(48.9696, 57.1482, 31.3679)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD87 #9087CD
analogous
#CDB387 #C4CD87 #A1CD87
triadic
#C4CD87 #87C4CD #CD87C4
tetradic
#C4CD87 #87CDB3 #9087CD #CD87A1
square
#C4CD87 #87CDB3 #9087CD #CD87A1
split-complementary
#C4CD87 #87A1CD #B387CD
monochromatic
#8E9A40 #AFBB5C #C4CD87 #D9DFB2 #EEF1DD

Accessibility & contrast

On white

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

On black

12.43
#C4CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD87
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD87#FFFFFF#000000##000000
##C4CD871.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cd87;
/* rgb */ color: rgb(196, 205, 135);
/* oklch */ color: oklch(82.5% 0.092 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6dcaa',
    500: '#c4cd87',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd87;
$custom-light: #d6dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd87",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 67.714,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82488,
    "c": 0.09202,
    "h": 114.4
  },
  "luminance": 0.57148
}

Semantic roles & 50–950 ramp

primary
#C4CD87
secondary
#6258A0
accent
#31B442
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#141510
muted
#838481

Preview Lab

Preview with #C4CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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