#C8B54A#C8B54A

#C8B54A is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.128 H 99.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C8B54A
RGBrgb(200, 181, 74)
HSLhsl(51, 53%, 54%)
HSVhsv(51, 63%, 78%)
CMYKcmyk(0%, 9.5%, 63%, 21.6%)
CIE-LABlab(73.43, -5.91, 55.38)
CIE-LCHlch(73.43, 55.69, 96.09°)
OKLaboklab(76.9% -0.0205 0.1264)
OKLCHoklch(76.9% 0.128 99.2)
XYZxyz(41.5810, 45.8234, 13.1318)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B54A #4A5DC8
analogous
#C8764A #C8B54A #9CC84A
triadic
#C8B54A #4AC8B5 #B54AC8
tetradic
#C8B54A #4AC876 #4A5DC8 #C84A9C
square
#C8B54A #4AC876 #4A5DC8 #C84A9C
split-complementary
#C8B54A #4A9CC8 #764AC8
monochromatic
#746823 #A39232 #C8B54A #D6C879 #E5DBA8

Accessibility & contrast

On white

2.07
#C8B54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#C8B54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B54A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B54A#FFFFFF#000000##000000
##C8B54A1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03E
Deuteranopia (green-blind)
#CBB750
Tritanopia (blue-blind)
#D7A99E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b54a;
/* rgb */ color: rgb(200, 181, 74);
/* oklch */ color: oklch(76.9% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#dcca81',
    500: '#c8b54a',
    950: '#000000',
  },
}
SCSS
$custom: #c8b54a;
$custom-light: #dcca81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b54a",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 50.952,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76895,
    "c": 0.12801,
    "h": 99.2
  },
  "luminance": 0.45822
}

Semantic roles & 50–950 ramp

primary
#C8B54A
secondary
#9CA4D2
accent
#61DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B54A

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

Preview Lab → · Contrast checker → · Palette generator →

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