#C2B87F#C2B87F

#C2B87F is a light, moderate yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.076 H 99.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C2B87F
RGBrgb(194, 184, 127)
HSLhsl(51, 35%, 63%)
HSVhsv(51, 35%, 76%)
CMYKcmyk(0%, 5.2%, 34.5%, 23.9%)
CIE-LABlab(74.37, -5.04, 30.28)
CIE-LCHlch(74.37, 30.70, 99.45°)
OKLaboklab(77.73% -0.0125 0.0751)
OKLCHoklch(77.73% 0.076 99.4)
XYZxyz(43.2200, 47.2837, 26.9245)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B87F #7F89C2
analogous
#C2967F #C2B87F #AAC27F
triadic
#C2B87F #7FC2B8 #B87FC2
tetradic
#C2B87F #7FC296 #7F89C2 #C27FAA
square
#C2B87F #7FC296 #7F89C2 #C27FAA
split-complementary
#C2B87F #7FAAC2 #967FC2
monochromatic
#877C40 #AEA156 #C2B87F #D6CFA8 #EAE6D2

Accessibility & contrast

On white

2.01
#C2B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C2B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B87F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B87F#FFFFFF#000000##000000
##C2B87F1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b87f;
/* rgb */ color: rgb(194, 184, 127);
/* oklch */ color: oklch(77.7% 0.076 99.4);
Tailwind
colors: {
  custom: {
    50: '#d5cda4',
    500: '#c2b87f',
    950: '#000000',
  },
}
SCSS
$custom: #c2b87f;
$custom-light: #d5cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b87f",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 51.045,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.77731,
    "c": 0.07616,
    "h": 99.4
  },
  "luminance": 0.47283
}

Semantic roles & 50–950 ramp

primary
#C2B87F
secondary
#C2C6DA
accent
#49AE37
background
#FDFCFA
surface
#FAF8F4
border
#D3D1CE
text
#14130F
muted
#83827F

Preview Lab

Preview with #C2B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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