#C8B551#C8B551

#C8B551 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.122 H 98.6°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#C8B551
RGBrgb(200, 181, 81)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 60%, 78%)
CMYKcmyk(0%, 9.5%, 59.5%, 21.6%)
CIE-LABlab(73.50, -5.43, 52.30)
CIE-LCHlch(73.50, 52.58, 95.93°)
OKLaboklab(76.97% -0.0184 0.1208)
OKLCHoklch(76.97% 0.122 98.6)
XYZxyz(41.8301, 45.9230, 14.4436)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B551 #5164C8
analogous
#C87951 #C8B551 #A0C851
triadic
#C8B551 #51C8B5 #B551C8
tetradic
#C8B551 #51C879 #5164C8 #C851A0
square
#C8B551 #51C879 #5164C8 #C851A0
split-complementary
#C8B551 #51A0C8 #7951C8
monochromatic
#796B26 #A79535 #C8B551 #D7C980 #E5DDAE

Accessibility & contrast

On white

2.06
#C8B551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#C8B551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B551
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B551#FFFFFF#000000##000000
##C8B5511.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B146
Deuteranopia (green-blind)
#CAB756
Tritanopia (blue-blind)
#D6A99F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b551;
/* rgb */ color: rgb(200, 181, 81);
/* oklch */ color: oklch(77.0% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#dbca85',
    500: '#c8b551',
    950: '#000000',
  },
}
SCSS
$custom: #c8b551;
$custom-light: #dbca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b551",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 50.42,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76967,
    "c": 0.12215,
    "h": 98.6
  },
  "luminance": 0.45921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B551

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

Preview Lab → · Contrast checker → · Palette generator →

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