#C8B651#C8B651

#C8B651 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.123 H 99.3°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C8B651
RGBrgb(200, 182, 81)
HSLhsl(51, 52%, 55%)
HSVhsv(51, 60%, 78%)
CMYKcmyk(0%, 9%, 59.5%, 21.6%)
CIE-LABlab(73.76, -5.95, 52.60)
CIE-LCHlch(73.76, 52.93, 96.46°)
OKLaboklab(77.18% -0.0198 0.1214)
OKLCHoklch(77.18% 0.123 99.3)
XYZxyz(42.0342, 46.3311, 14.5117)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B651 #5163C8
analogous
#C87A51 #C8B651 #9FC851
triadic
#C8B651 #51C8B6 #B651C8
tetradic
#C8B651 #51C87A #5163C8 #C8519F
square
#C8B651 #51C87A #5163C8 #C8519F
split-complementary
#C8B651 #519FC8 #7A51C8
monochromatic
#796C26 #A79635 #C8B651 #D7CA80 #E5DDAE

Accessibility & contrast

On white

2.05
#C8B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C8B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B651
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B651#FFFFFF#000000##000000
##C8B6511.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B146
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#D6AAA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b651;
/* rgb */ color: rgb(200, 182, 81);
/* oklch */ color: oklch(77.2% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#dbcb85',
    500: '#c8b651',
    950: '#000000',
  },
}
SCSS
$custom: #c8b651;
$custom-light: #dbcb85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b651",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 50.924,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77177,
    "c": 0.123,
    "h": 99.3
  },
  "luminance": 0.46329
}

Semantic roles & 50–950 ramp

primary
#C8B651
secondary
#A1A9D3
accent
#62DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B651

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

Preview Lab → · Contrast checker → · Palette generator →

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