#C8A539#C8A539

#C8A539 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.4% C 0.129 H 90.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C8A539
RGBrgb(200, 165, 57)
HSLhsl(45, 57%, 50%)
HSVhsv(45, 72%, 78%)
CMYKcmyk(0%, 17.5%, 71.5%, 21.6%)
CIE-LABlab(69.10, 1.57, 58.06)
CIE-LCHlch(69.10, 58.08, 88.45°)
OKLaboklab(73.43% -0.0011 0.1292)
OKLCHoklch(73.43% 0.129 90.5)
XYZxyz(38.0152, 39.4873, 9.4896)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A539 #395CC8
analogous
#C85E39 #C8A539 #A3C839
triadic
#C8A539 #39C8A5 #A539C8
tetradic
#C8A539 #39C85E #395CC8 #C839A3
square
#C8A539 #39C85E #395CC8 #C839A3
split-complementary
#C8A539 #39A3C8 #5E39C8
monochromatic
#69571D #997E2B #C8A539 #D5BB69 #E3D199

Accessibility & contrast

On white

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

On black

8.90
#C8A539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A539
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A539#FFFFFF#000000##000000
##C8A5391.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32A
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#D8978F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a539;
/* rgb */ color: rgb(200, 165, 57);
/* oklch */ color: oklch(73.4% 0.129 90.5);
Tailwind
colors: {
  custom: {
    50: '#ddbf76',
    500: '#c8a539',
    950: '#000000',
  },
}
SCSS
$custom: #c8a539;
$custom-light: #ddbf76;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a539",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 45.315,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73429,
    "c": 0.12922,
    "h": 90.5
  },
  "luminance": 0.39485
}

Semantic roles & 50–950 ramp

primary
#C8A539
secondary
#8F9ECE
accent
#6DE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A539

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

Preview Lab → · Contrast checker → · Palette generator →

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