#C8A531#C8A531

#C8A531 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.4% C 0.134 H 91.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C8A531
RGBrgb(200, 165, 49)
HSLhsl(46, 61%, 49%)
HSVhsv(46, 76%, 78%)
CMYKcmyk(0%, 17.5%, 75.5%, 21.6%)
CIE-LABlab(69.05, 1.20, 61.09)
CIE-LCHlch(69.05, 61.11, 88.87°)
OKLaboklab(73.37% -0.0031 0.1341)
OKLCHoklch(73.37% 0.134 91.3)
XYZxyz(37.8311, 39.4137, 8.5201)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A531 #3154C8
analogous
#C85A31 #C8A531 #A0C831
triadic
#C8A531 #31C8A5 #A531C8
tetradic
#C8A531 #31C85A #3154C8 #C831A0
square
#C8A531 #31C85A #3154C8 #C831A0
split-complementary
#C8A531 #31A0C8 #5A31C8
monochromatic
#665419 #977C25 #C8A531 #D8BC5F #E4D090

Accessibility & contrast

On white

2.36
#C8A531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#C8A531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A531
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A531#FFFFFF#000000##000000
##C8A5311.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#D9978E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c8a531;
/* rgb */ color: rgb(200, 165, 49);
/* oklch */ color: oklch(73.4% 0.134 91.3);
Tailwind
colors: {
  custom: {
    50: '#ddbf72',
    500: '#c8a531',
    950: '#000000',
  },
}
SCSS
$custom: #c8a531;
$custom-light: #ddbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a531",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 46.093,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73371,
    "c": 0.13414,
    "h": 91.3
  },
  "luminance": 0.39411
}

Semantic roles & 50–950 ramp

primary
#C8A531
secondary
#8697CE
accent
#69E444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A531

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

Preview Lab → · Contrast checker → · Palette generator →

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