#C8B151#C8B151

#C8B151 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.119 H 96.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#C8B151
RGBrgb(200, 177, 81)
HSLhsl(48, 52%, 55%)
HSVhsv(48, 60%, 78%)
CMYKcmyk(0%, 11.5%, 59.5%, 21.6%)
CIE-LABlab(72.44, -3.34, 51.12)
CIE-LCHlch(72.44, 51.23, 93.73°)
OKLaboklab(76.13% -0.0123 0.1182)
OKLCHoklch(76.13% 0.119 96)
XYZxyz(41.0285, 44.3196, 14.1764)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B151 #5168C8
analogous
#C87551 #C8B151 #A4C851
triadic
#C8B151 #51C8B1 #B151C8
tetradic
#C8B151 #51C875 #5168C8 #C851A4
square
#C8B151 #51C875 #5168C8 #C851A4
split-complementary
#C8B151 #51A4C8 #7551C8
monochromatic
#796926 #A79135 #C8B151 #D7C680 #E5DBAE

Accessibility & contrast

On white

2.13
#C8B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#C8B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B151
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B151#FFFFFF#000000##000000
##C8B1511.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#C7B555
Tritanopia (blue-blind)
#D7A59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b151;
/* rgb */ color: rgb(200, 177, 81);
/* oklch */ color: oklch(76.1% 0.119 96.0);
Tailwind
colors: {
  custom: {
    50: '#dbc885',
    500: '#c8b151',
    950: '#000000',
  },
}
SCSS
$custom: #c8b151;
$custom-light: #dbc885;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b151",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 48.403,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76133,
    "c": 0.11886,
    "h": 96
  },
  "luminance": 0.44318
}

Semantic roles & 50–950 ramp

primary
#C8B151
secondary
#A1ABD3
accent
#68DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B151

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

Preview Lab → · Contrast checker → · Palette generator →

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