#C8B951#C8B951

#C8B951 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.8% C 0.126 H 101.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#C8B951
RGBrgb(200, 185, 81)
HSLhsl(52, 52%, 55%)
HSVhsv(52, 60%, 78%)
CMYKcmyk(0%, 7.5%, 59.5%, 21.6%)
CIE-LABlab(74.55, -7.51, 53.49)
CIE-LCHlch(74.55, 54.01, 98.00°)
OKLaboklab(77.81% -0.0243 0.1233)
OKLCHoklch(77.81% 0.126 101.2)
XYZxyz(42.6552, 47.5731, 14.7186)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B951 #5160C8
analogous
#C87D51 #C8B951 #9BC851
triadic
#C8B951 #51C8B9 #B951C8
tetradic
#C8B951 #51C87D #5160C8 #C8519B
square
#C8B951 #51C87D #5160C8 #C8519B
split-complementary
#C8B951 #519BC8 #7D51C8
monochromatic
#796E26 #A79935 #C8B951 #D7CC80 #E5DEAE

Accessibility & contrast

On white

2.00
#C8B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#C8B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B951
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B951#FFFFFF#000000##000000
##C8B9511.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#D6ADA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b951;
/* rgb */ color: rgb(200, 185, 81);
/* oklch */ color: oklch(77.8% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#dbcd86',
    500: '#c8b951',
    950: '#000000',
  },
}
SCSS
$custom: #c8b951;
$custom-light: #dbcd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b951",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 52.437,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77807,
    "c": 0.12566,
    "h": 101.2
  },
  "luminance": 0.47571
}

Semantic roles & 50–950 ramp

primary
#C8B951
secondary
#A1A8D3
accent
#5EDB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B951

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

Preview Lab → · Contrast checker → · Palette generator →

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