#C8B54D#C8B54D

#C8B54D is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.9% C 0.126 H 99.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#C8B54D
RGBrgb(200, 181, 77)
HSLhsl(51, 53%, 54%)
HSVhsv(51, 62%, 78%)
CMYKcmyk(0%, 9.5%, 61.5%, 21.6%)
CIE-LABlab(73.46, -5.71, 54.07)
CIE-LCHlch(73.46, 54.38, 96.03°)
OKLaboklab(76.93% -0.0196 0.124)
OKLCHoklch(76.93% 0.126 99)
XYZxyz(41.6845, 45.8647, 13.6768)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B54D #4D60C8
analogous
#C8784D #C8B54D #9EC84D
triadic
#C8B54D #4DC8B5 #B54DC8
tetradic
#C8B54D #4DC878 #4D60C8 #C84D9E
square
#C8B54D #4DC878 #4D60C8 #C84D9E
split-complementary
#C8B54D #4D9EC8 #784DC8
monochromatic
#766A24 #A59333 #C8B54D #D6C87C #E5DCAB

Accessibility & contrast

On white

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

On black

10.17
#C8B54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B54D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B54D#FFFFFF#000000##000000
##C8B54D1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B041
Deuteranopia (green-blind)
#CAB752
Tritanopia (blue-blind)
#D7A99F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b54d;
/* rgb */ color: rgb(200, 181, 77);
/* oklch */ color: oklch(76.9% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#dcca83',
    500: '#c8b54d',
    950: '#000000',
  },
}
SCSS
$custom: #c8b54d;
$custom-light: #dcca83;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b54d",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 50.732,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76925,
    "c": 0.12555,
    "h": 99
  },
  "luminance": 0.45863
}

Semantic roles & 50–950 ramp

primary
#C8B54D
secondary
#9EA6D2
accent
#62DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B54D

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

Preview Lab → · Contrast checker → · Palette generator →

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