#C8B751#C8B751

#C8B751 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.124 H 99.9°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C8B751
RGBrgb(200, 183, 81)
HSLhsl(51, 52%, 55%)
HSVhsv(51, 60%, 78%)
CMYKcmyk(0%, 8.5%, 59.5%, 21.6%)
CIE-LABlab(74.02, -6.48, 52.89)
CIE-LCHlch(74.02, 53.29, 96.98°)
OKLaboklab(77.39% -0.0213 0.122)
OKLCHoklch(77.39% 0.124 99.9)
XYZxyz(42.2397, 46.7422, 14.5802)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B751 #5162C8
analogous
#C87C51 #C8B751 #9DC851
triadic
#C8B751 #51C8B7 #B751C8
tetradic
#C8B751 #51C87C #5162C8 #C8519D
square
#C8B751 #51C87C #5162C8 #C8519D
split-complementary
#C8B751 #519DC8 #7C51C8
monochromatic
#796D26 #A79735 #C8B751 #D7CA80 #E5DDAE

Accessibility & contrast

On white

2.03
#C8B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#C8B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B751
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B751#FFFFFF#000000##000000
##C8B7511.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B246
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#D6ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b751;
/* rgb */ color: rgb(200, 183, 81);
/* oklch */ color: oklch(77.4% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#dbcc86',
    500: '#c8b751',
    950: '#000000',
  },
}
SCSS
$custom: #c8b751;
$custom-light: #dbcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b751",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 51.429,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77386,
    "c": 0.12387,
    "h": 99.9
  },
  "luminance": 0.4674
}

Semantic roles & 50–950 ramp

primary
#C8B751
secondary
#A1A9D3
accent
#61DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B751

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

Preview Lab → · Contrast checker → · Palette generator →

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