#C8B54C#C8B54C

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

Color values

HEX#C8B54C
RGBrgb(200, 181, 76)
HSLhsl(51, 53%, 54%)
HSVhsv(51, 62%, 78%)
CMYKcmyk(0%, 9.5%, 62%, 21.6%)
CIE-LABlab(73.45, -5.78, 54.51)
CIE-LCHlch(73.45, 54.82, 96.05°)
OKLaboklab(76.92% -0.0199 0.1248)
OKLCHoklch(76.92% 0.126 99.1)
XYZxyz(41.6495, 45.8507, 13.4923)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B54C #4C5FC8
analogous
#C8774C #C8B54C #9DC84C
triadic
#C8B54C #4CC8B5 #B54CC8
tetradic
#C8B54C #4CC877 #4C5FC8 #C84C9D
square
#C8B54C #4CC877 #4C5FC8 #C84C9D
split-complementary
#C8B54C #4C9DC8 #774CC8
monochromatic
#756924 #A49332 #C8B54C #D6C87B #E5DCAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B54C#FFFFFF#000000##000000
##C8B54C1.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)
#C5B040
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#D7A99E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b54c;
/* rgb */ color: rgb(200, 181, 76);
/* oklch */ color: oklch(76.9% 0.126 99.1);
Tailwind
colors: {
  custom: {
    50: '#dcca82',
    500: '#c8b54c',
    950: '#000000',
  },
}
SCSS
$custom: #c8b54c;
$custom-light: #dcca82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b54c",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 50.806,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76915,
    "c": 0.12638,
    "h": 99.1
  },
  "luminance": 0.45849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B54C

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

Preview Lab → · Contrast checker → · Palette generator →

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