#C4B87F#C4B87F

#C4B87F is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.076 H 97.7°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#C4B87F
RGBrgb(196, 184, 127)
HSLhsl(50, 37%, 63%)
HSVhsv(50, 35%, 77%)
CMYKcmyk(0%, 6.1%, 35.2%, 23.1%)
CIE-LABlab(74.54, -4.24, 30.53)
CIE-LCHlch(74.54, 30.83, 97.91°)
OKLaboklab(77.91% -0.0103 0.0757)
OKLCHoklch(77.91% 0.076 97.7)
XYZxyz(43.7368, 47.5503, 26.9487)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B87F #7F8BC4
analogous
#C4957F #C4B87F #ADC47F
triadic
#C4B87F #7FC4B8 #B87FC4
tetradic
#C4B87F #7FC495 #7F8BC4 #C47FAD
square
#C4B87F #7FC495 #7F8BC4 #C47FAD
split-complementary
#C4B87F #7FADC4 #957FC4
monochromatic
#897C3F #B1A155 #C4B87F #D7CFA9 #EBE6D3

Accessibility & contrast

On white

2.00
#C4B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#C4B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B87F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B87F#FFFFFF#000000##000000
##C4B87F1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#C6B981
Tritanopia (blue-blind)
#CEB0A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4b87f;
/* rgb */ color: rgb(196, 184, 127);
/* oklch */ color: oklch(77.9% 0.076 97.7);
Tailwind
colors: {
  custom: {
    50: '#d7cda4',
    500: '#c4b87f',
    950: '#000000',
  },
}
SCSS
$custom: #c4b87f;
$custom-light: #d7cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b87f",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 49.565,
    "s": 36.898,
    "l": 63.333
  },
  "oklch": {
    "l": 0.77906,
    "c": 0.07641,
    "h": 97.7
  },
  "luminance": 0.47549
}

Semantic roles & 50–950 ramp

primary
#C4B87F
secondary
#C3C7DC
accent
#4BB036
background
#FDFCFA
surface
#FAF8F4
border
#D3D1CE
text
#14130F
muted
#83827F

Preview Lab

Preview with #C4B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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