#C8B754#C8B754

#C8B754 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.4% C 0.121 H 99.7°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#C8B754
RGBrgb(200, 183, 84)
HSLhsl(51, 51%, 56%)
HSVhsv(51, 58%, 78%)
CMYKcmyk(0%, 8.5%, 58%, 21.6%)
CIE-LABlab(74.05, -6.26, 51.55)
CIE-LCHlch(74.05, 51.93, 96.92°)
OKLaboklab(77.42% -0.0204 0.1195)
OKLCHoklch(77.42% 0.121 99.7)
XYZxyz(42.3547, 46.7882, 15.1858)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B754 #5465C8
analogous
#C87D54 #C8B754 #9FC854
triadic
#C8B754 #54C8B7 #B754C8
tetradic
#C8B754 #54C87D #5465C8 #C8549F
square
#C8B754 #54C87D #5465C8 #C8549F
split-complementary
#C8B754 #549FC8 #7D54C8
monochromatic
#7A6E27 #A99836 #C8B754 #D7CA82 #E6DEB1

Accessibility & contrast

On white

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

On black

10.36
#C8B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B754
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B754#FFFFFF#000000##000000
##C8B7541.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b754;
/* rgb */ color: rgb(200, 183, 84);
/* oklch */ color: oklch(77.4% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#dbcc87',
    500: '#c8b754',
    950: '#000000',
  },
}
SCSS
$custom: #c8b754;
$custom-light: #dbcc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b754",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 51.207,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77419,
    "c": 0.12123,
    "h": 99.7
  },
  "luminance": 0.46786
}

Semantic roles & 50–950 ramp

primary
#C8B754
secondary
#A4ABD4
accent
#62DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B754

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

Preview Lab → · Contrast checker → · Palette generator →

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