#C2CD87#C2CD87

#C2CD87 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.092 H 115.7°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#C2CD87
RGBrgb(194, 205, 135)
HSLhsl(69, 41%, 67%)
HSVhsv(69, 34%, 80%)
CMYKcmyk(5.4%, 0%, 34.1%, 19.6%)
CIE-LABlab(80.11, -14.86, 33.66)
CIE-LCHlch(80.11, 36.79, 113.82°)
OKLaboklab(82.33% -0.0402 0.0833)
OKLCHoklch(82.33% 0.092 115.7)
XYZxyz(48.4527, 56.8817, 31.3437)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD87 #9287CD
analogous
#CDB587 #C2CD87 #9FCD87
triadic
#C2CD87 #87C2CD #CD87C2
tetradic
#C2CD87 #87CDB5 #9287CD #CD879F
square
#C2CD87 #87CDB5 #9287CD #CD879F
split-complementary
#C2CD87 #879FCD #B587CD
monochromatic
#8C9A40 #ACBB5C #C2CD87 #D8DFB2 #EEF1DD

Accessibility & contrast

On white

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

On black

12.38
#C2CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD87
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD87#FFFFFF#000000##000000
##C2CD871.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C682
Deuteranopia (green-blind)
#D5C78A
Tritanopia (blue-blind)
#C9C6BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2cd87;
/* rgb */ color: rgb(194, 205, 135);
/* oklch */ color: oklch(82.3% 0.092 115.7);
Tailwind
colors: {
  custom: {
    50: '#d5dcaa',
    500: '#c2cd87',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd87;
$custom-light: #d5dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd87",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 69.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82332,
    "c": 0.09246,
    "h": 115.7
  },
  "luminance": 0.56881
}

Semantic roles & 50–950 ramp

primary
#C2CD87
secondary
#6458A0
accent
#31B446
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#141510
muted
#838481

Preview Lab

Preview with #C2CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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