#C8B54E#C8B54E

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

Color values

HEX#C8B54E
RGBrgb(200, 181, 78)
HSLhsl(51, 53%, 55%)
HSVhsv(51, 61%, 78%)
CMYKcmyk(0%, 9.5%, 61%, 21.6%)
CIE-LABlab(73.47, -5.64, 53.64)
CIE-LCHlch(73.47, 53.93, 96.01°)
OKLaboklab(76.94% -0.0193 0.1232)
OKLCHoklch(76.94% 0.125 98.9)
XYZxyz(41.7201, 45.8790, 13.8642)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B54E #4E61C8
analogous
#C8784E #C8B54E #9EC84E
triadic
#C8B54E #4EC8B5 #B54EC8
tetradic
#C8B54E #4EC878 #4E61C8 #C84E9E
square
#C8B54E #4EC878 #4E61C8 #C84E9E
split-complementary
#C8B54E #4E9EC8 #784EC8
monochromatic
#776A25 #A59433 #C8B54E #D7C97D #E5DCAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B54E#FFFFFF#000000##000000
##C8B54E1.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)
#C5B143
Deuteranopia (green-blind)
#CAB753
Tritanopia (blue-blind)
#D7A99F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b54e;
/* rgb */ color: rgb(200, 181, 78);
/* oklch */ color: oklch(76.9% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#dcca84',
    500: '#c8b54e',
    950: '#000000',
  },
}
SCSS
$custom: #c8b54e;
$custom-light: #dcca84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b54e",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 50.656,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.12471,
    "h": 98.9
  },
  "luminance": 0.45877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B54E

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

Preview Lab → · Contrast checker → · Palette generator →

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