#C8A847#C8A847

#C8A847 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.2% C 0.121 H 90.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#C8A847
RGBrgb(200, 168, 71)
HSLhsl(45, 54%, 53%)
HSVhsv(45, 65%, 78%)
CMYKcmyk(0%, 16%, 64.5%, 21.6%)
CIE-LABlab(69.99, 0.76, 52.99)
CIE-LCHlch(69.99, 52.99, 89.18°)
OKLaboklab(74.17% -0.0017 0.1208)
OKLCHoklch(74.17% 0.121 90.8)
XYZxyz(38.9613, 40.7417, 11.7718)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A847 #4767C8
analogous
#C86747 #C8A847 #A8C847
triadic
#C8A847 #47C8A8 #A847C8
tetradic
#C8A847 #47C867 #4767C8 #C847A8
square
#C8A847 #47C867 #4767C8 #C847A8
split-complementary
#C8A847 #47A8C8 #6747C8
monochromatic
#725F22 #A28530 #C8A847 #D6BE76 #E4D5A5

Accessibility & contrast

On white

2.30
#C8A847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#C8A847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A847
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A847#FFFFFF#000000##000000
##C8A8471.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63C
Deuteranopia (green-blind)
#C1AF4B
Tritanopia (blue-blind)
#D89B93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a847;
/* rgb */ color: rgb(200, 168, 71);
/* oklch */ color: oklch(74.2% 0.121 90.8);
Tailwind
colors: {
  custom: {
    50: '#dcc17e',
    500: '#c8a847',
    950: '#000000',
  },
}
SCSS
$custom: #c8a847;
$custom-light: #dcc17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a847",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 71
  },
  "hsl": {
    "h": 45.116,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74169,
    "c": 0.12085,
    "h": 90.8
  },
  "luminance": 0.4074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8A847

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

Preview Lab → · Contrast checker → · Palette generator →

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