#C8B954#C8B954

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

Color values

HEX#C8B954
RGBrgb(200, 185, 84)
HSLhsl(52, 51%, 56%)
HSVhsv(52, 58%, 78%)
CMYKcmyk(0%, 7.5%, 58%, 21.6%)
CIE-LABlab(74.58, -7.30, 52.15)
CIE-LCHlch(74.58, 52.65, 97.97°)
OKLaboklab(77.84% -0.0233 0.1208)
OKLCHoklch(77.84% 0.123 100.9)
XYZxyz(42.7702, 47.6190, 15.3243)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B954 #5463C8
analogous
#C87F54 #C8B954 #9DC854
triadic
#C8B954 #54C8B9 #B954C8
tetradic
#C8B954 #54C87F #5463C8 #C8549D
square
#C8B954 #54C87F #5463C8 #C8549D
split-complementary
#C8B954 #549DC8 #7F54C8
monochromatic
#7A7027 #A99A36 #C8B954 #D7CC82 #E6DFB1

Accessibility & contrast

On white

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

On black

10.52
#C8B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B954
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B954#FFFFFF#000000##000000
##C8B9541.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44A
Deuteranopia (green-blind)
#CDBA59
Tritanopia (blue-blind)
#D6ADA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b954;
/* rgb */ color: rgb(200, 185, 84);
/* oklch */ color: oklch(77.8% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#dbcd88',
    500: '#c8b954',
    950: '#000000',
  },
}
SCSS
$custom: #c8b954;
$custom-light: #dbcd88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b954",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 52.241,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7784,
    "c": 0.12304,
    "h": 100.9
  },
  "luminance": 0.47617
}

Semantic roles & 50–950 ramp

primary
#C8B954
secondary
#A4AAD4
accent
#5FDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B954

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

Preview Lab → · Contrast checker → · Palette generator →

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