#C8B157#C8B157

#C8B157 is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.113 H 95.2°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#C8B157
RGBrgb(200, 177, 87)
HSLhsl(48, 51%, 56%)
HSVhsv(48, 57%, 78%)
CMYKcmyk(0%, 11.5%, 56.5%, 21.6%)
CIE-LABlab(72.50, -2.88, 48.36)
CIE-LCHlch(72.50, 48.44, 93.41°)
OKLaboklab(76.2% -0.0103 0.113)
OKLCHoklch(76.2% 0.113 95.2)
XYZxyz(41.2635, 44.4136, 15.4142)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B157 #576EC8
analogous
#C87957 #C8B157 #A7C857
triadic
#C8B157 #57C8B1 #B157C8
tetradic
#C8B157 #57C879 #576EC8 #C857A7
square
#C8B157 #57C879 #576EC8 #C857A7
split-complementary
#C8B157 #57A7C8 #7957C8
monochromatic
#7C6B29 #AA9338 #C8B157 #D7C685 #E6DCB3

Accessibility & contrast

On white

2.12
#C8B157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#C8B157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B157
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B157#FFFFFF#000000##000000
##C8B1571.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C7B55B
Tritanopia (blue-blind)
#D6A59D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b157;
/* rgb */ color: rgb(200, 177, 87);
/* oklch */ color: oklch(76.2% 0.113 95.2);
Tailwind
colors: {
  custom: {
    50: '#dbc889',
    500: '#c8b157',
    950: '#000000',
  },
}
SCSS
$custom: #c8b157;
$custom-light: #dbc889;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b157",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 47.788,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76202,
    "c": 0.11346,
    "h": 95.2
  },
  "luminance": 0.44412
}

Semantic roles & 50–950 ramp

primary
#C8B157
secondary
#A6B0D5
accent
#6ADA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B157

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

Preview Lab → · Contrast checker → · Palette generator →

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