#C4C87F#C4C87F

#C4C87F is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.095 H 111.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C4C87F
RGBrgb(196, 200, 127)
HSLhsl(63, 40%, 64%)
HSVhsv(63, 37%, 78%)
CMYKcmyk(2%, 0%, 36.5%, 21.6%)
CIE-LABlab(78.80, -12.52, 36.08)
CIE-LCHlch(78.80, 38.19, 109.14°)
OKLaboklab(81.28% -0.034 0.0886)
OKLCHoklch(81.28% 0.095 111)
XYZxyz(47.2504, 54.5774, 28.1199)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C87F #837FC8
analogous
#C8A87F #C4C87F #A0C87F
triadic
#C4C87F #7FC4C8 #C87FC4
tetradic
#C4C87F #7FC8A8 #837FC8 #C87FA0
square
#C4C87F #7FC8A8 #837FC8 #C87FA0
split-complementary
#C4C87F #7FA0C8 #A87FC8
monochromatic
#8B8F3D #B0B654 #C4C87F #D8DAAA #EBEDD5

Accessibility & contrast

On white

1.76
#C4C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#C4C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C87F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C87F#FFFFFF#000000##000000
##C4C87F1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D3C482
Tritanopia (blue-blind)
#CDC0B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c4c87f;
/* rgb */ color: rgb(196, 200, 127);
/* oklch */ color: oklch(81.3% 0.095 111.0);
Tailwind
colors: {
  custom: {
    50: '#d7d8a5',
    500: '#c4c87f',
    950: '#000000',
  },
}
SCSS
$custom: #c4c87f;
$custom-light: #d7d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c87f",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 63.288,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81282,
    "c": 0.09489,
    "h": 111
  },
  "luminance": 0.54577
}

Semantic roles & 50–950 ramp

primary
#C4C87F
secondary
#585596
accent
#33B33A
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #C4C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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