#C2C87F#C2C87F

#C2C87F is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.095 H 112.3°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C2C87F
RGBrgb(194, 200, 127)
HSLhsl(65, 40%, 64%)
HSVhsv(65, 37%, 78%)
CMYKcmyk(3%, 0%, 36.5%, 21.6%)
CIE-LABlab(78.64, -13.30, 35.85)
CIE-LCHlch(78.64, 38.24, 110.36°)
OKLaboklab(81.12% -0.0362 0.0881)
OKLCHoklch(81.12% 0.095 112.3)
XYZxyz(46.7335, 54.3108, 28.0957)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C87F #857FC8
analogous
#C8AA7F #C2C87F #9EC87F
triadic
#C2C87F #7FC2C8 #C87FC2
tetradic
#C2C87F #7FC8AA #857FC8 #C87F9E
square
#C2C87F #7FC8AA #857FC8 #C87F9E
split-complementary
#C2C87F #7F9EC8 #AA7FC8
monochromatic
#888F3D #AEB654 #C2C87F #D6DAAA #EBEDD5

Accessibility & contrast

On white

1.77
#C2C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C2C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C87F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C87F#FFFFFF#000000##000000
##C2C87F1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27A
Deuteranopia (green-blind)
#D2C482
Tritanopia (blue-blind)
#CBC0B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2c87f;
/* rgb */ color: rgb(194, 200, 127);
/* oklch */ color: oklch(81.1% 0.095 112.3);
Tailwind
colors: {
  custom: {
    50: '#d5d8a5',
    500: '#c2c87f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c87f;
$custom-light: #d5d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c87f",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 64.932,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81121,
    "c": 0.09521,
    "h": 112.3
  },
  "luminance": 0.5431
}

Semantic roles & 50–950 ramp

primary
#C2C87F
secondary
#5A5596
accent
#33B33D
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #C2C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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