#C2B278#C2B278

#C2B278 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.079 H 94.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#C2B278
RGBrgb(194, 178, 120)
HSLhsl(47, 38%, 62%)
HSVhsv(47, 38%, 76%)
CMYKcmyk(0%, 8.2%, 38.1%, 23.9%)
CIE-LABlab(72.67, -2.71, 31.74)
CIE-LCHlch(72.67, 31.85, 94.87°)
OKLaboklab(76.35% -0.0062 0.0783)
OKLCHoklch(76.35% 0.079 94.5)
XYZxyz(41.5595, 44.6675, 24.1982)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B278 #7888C2
analogous
#C28D78 #C2B278 #ADC278
triadic
#C2B278 #78C2B2 #B278C2
tetradic
#C2B278 #78C28D #7888C2 #C278AD
square
#C2B278 #78C28D #7888C2 #C278AD
split-complementary
#C2B278 #78ADC2 #8D78C2
monochromatic
#84743C #AE994F #C2B278 #D5CAA2 #E8E2CC

Accessibility & contrast

On white

2.11
#C2B278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#C2B278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B278
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B278#FFFFFF#000000##000000
##C2B2781.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAF74
Deuteranopia (green-blind)
#C2B57A
Tritanopia (blue-blind)
#CDAAA3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b278;
/* rgb */ color: rgb(194, 178, 120);
/* oklch */ color: oklch(76.4% 0.079 94.5);
Tailwind
colors: {
  custom: {
    50: '#d5c89f',
    500: '#c2b278',
    950: '#000000',
  },
}
SCSS
$custom: #c2b278;
$custom-light: #d5c89f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b278",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 120
  },
  "hsl": {
    "h": 47.027,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.76351,
    "c": 0.07854,
    "h": 94.5
  },
  "luminance": 0.44666
}

Semantic roles & 50–950 ramp

primary
#C2B278
secondary
#BDC3D9
accent
#50B135
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E

Preview Lab

Preview with #C2B278

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

Preview Lab → · Contrast checker → · Palette generator →

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