#C8B257#C8B257

#C8B257 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.114 H 95.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C8B257
RGBrgb(200, 178, 87)
HSLhsl(48, 51%, 56%)
HSVhsv(48, 57%, 78%)
CMYKcmyk(0%, 11%, 56.5%, 21.6%)
CIE-LABlab(72.77, -3.41, 48.66)
CIE-LCHlch(72.77, 48.78, 94.01°)
OKLaboklab(76.41% -0.0118 0.1137)
OKLCHoklch(76.41% 0.114 95.9)
XYZxyz(41.4617, 44.8101, 15.4802)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B257 #576DC8
analogous
#C87A57 #C8B257 #A6C857
triadic
#C8B257 #57C8B2 #B257C8
tetradic
#C8B257 #57C87A #576DC8 #C857A6
square
#C8B257 #57C87A #576DC8 #C857A6
split-complementary
#C8B257 #57A6C8 #7A57C8
monochromatic
#7C6C29 #AA9438 #C8B257 #D7C785 #E6DCB3

Accessibility & contrast

On white

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

On black

9.96
#C8B257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B257
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B257#FFFFFF#000000##000000
##C8B2571.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4E
Deuteranopia (green-blind)
#C7B65B
Tritanopia (blue-blind)
#D6A69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b257;
/* rgb */ color: rgb(200, 178, 87);
/* oklch */ color: oklch(76.4% 0.114 95.9);
Tailwind
colors: {
  custom: {
    50: '#dbc889',
    500: '#c8b257',
    950: '#000000',
  },
}
SCSS
$custom: #c8b257;
$custom-light: #dbc889;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b257",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 48.319,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7641,
    "c": 0.11426,
    "h": 95.9
  },
  "luminance": 0.44808
}

Semantic roles & 50–950 ramp

primary
#C8B257
secondary
#A6AFD5
accent
#69DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B257

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

Preview Lab → · Contrast checker → · Palette generator →

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