#C8A947#C8A947

#C8A947 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.4% C 0.121 H 91.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C8A947
RGBrgb(200, 169, 71)
HSLhsl(46, 54%, 53%)
HSVhsv(46, 65%, 78%)
CMYKcmyk(0%, 15.5%, 64.5%, 21.6%)
CIE-LABlab(70.25, 0.22, 53.27)
CIE-LCHlch(70.25, 53.27, 89.76°)
OKLaboklab(74.37% -0.0033 0.1214)
OKLCHoklch(74.37% 0.121 91.6)
XYZxyz(39.1466, 41.1124, 11.8336)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A947 #4766C8
analogous
#C86847 #C8A947 #A7C847
triadic
#C8A947 #47C8A9 #A947C8
tetradic
#C8A947 #47C868 #4766C8 #C847A7
square
#C8A947 #47C868 #4766C8 #C847A7
split-complementary
#C8A947 #47A7C8 #6847C8
monochromatic
#725F22 #A28630 #C8A947 #D6BF76 #E4D5A5

Accessibility & contrast

On white

2.28
#C8A947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C8A947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A947
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A947#FFFFFF#000000##000000
##C8A9471.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73C
Deuteranopia (green-blind)
#C2B04B
Tritanopia (blue-blind)
#D89C94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8a947;
/* rgb */ color: rgb(200, 169, 71);
/* oklch */ color: oklch(74.4% 0.121 91.6);
Tailwind
colors: {
  custom: {
    50: '#dcc27e',
    500: '#c8a947',
    950: '#000000',
  },
}
SCSS
$custom: #c8a947;
$custom-light: #dcc27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a947",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 71
  },
  "hsl": {
    "h": 45.581,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74374,
    "c": 0.12148,
    "h": 91.6
  },
  "luminance": 0.4111
}

Semantic roles & 50–950 ramp

primary
#C8A947
secondary
#9AA7D1
accent
#6EDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8A947

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

Preview Lab → · Contrast checker → · Palette generator →

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