#C8B54B#C8B54B

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

Color values

HEX#C8B54B
RGBrgb(200, 181, 75)
HSLhsl(51, 53%, 54%)
HSVhsv(51, 63%, 78%)
CMYKcmyk(0%, 9.5%, 62.5%, 21.6%)
CIE-LABlab(73.44, -5.84, 54.95)
CIE-LCHlch(73.44, 55.26, 96.07°)
OKLaboklab(76.91% -0.0202 0.1256)
OKLCHoklch(76.91% 0.127 99.2)
XYZxyz(41.6150, 45.8369, 13.3106)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B54B #4B5EC8
analogous
#C8774B #C8B54B #9DC84B
triadic
#C8B54B #4BC8B5 #B54BC8
tetradic
#C8B54B #4BC877 #4B5EC8 #C84B9D
square
#C8B54B #4BC877 #4B5EC8 #C84B9D
split-complementary
#C8B54B #4B9DC8 #774BC8
monochromatic
#756924 #A49232 #C8B54B #D6C87A #E5DCA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B54B#FFFFFF#000000##000000
##C8B54B1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b54b;
/* rgb */ color: rgb(200, 181, 75);
/* oklch */ color: oklch(76.9% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#dcca82',
    500: '#c8b54b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b54b;
$custom-light: #dcca82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b54b",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 50.88,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76905,
    "c": 0.1272,
    "h": 99.2
  },
  "luminance": 0.45835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B54B

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

Preview Lab → · Contrast checker → · Palette generator →

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