#C8A845#C8A845

#C8A845 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.1% C 0.122 H 91.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C8A845
RGBrgb(200, 168, 69)
HSLhsl(45, 54%, 53%)
HSVhsv(45, 66%, 78%)
CMYKcmyk(0%, 16%, 65.5%, 21.6%)
CIE-LABlab(69.98, 0.63, 53.86)
CIE-LCHlch(69.98, 53.87, 89.33°)
OKLaboklab(74.15% -0.0023 0.1224)
OKLCHoklch(74.15% 0.122 91.1)
XYZxyz(38.8982, 40.7165, 11.4393)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A845 #4565C8
analogous
#C86745 #C8A845 #A6C845
triadic
#C8A845 #45C8A8 #A845C8
tetradic
#C8A845 #45C867 #4565C8 #C845A6
square
#C8A845 #45C867 #4565C8 #C845A6
split-complementary
#C8A845 #45A6C8 #6745C8
monochromatic
#715E21 #A0852F #C8A845 #D6BE74 #E4D4A3

Accessibility & contrast

On white

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

On black

9.14
#C8A845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A845
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A845#FFFFFF#000000##000000
##C8A8451.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a845;
/* rgb */ color: rgb(200, 168, 69);
/* oklch */ color: oklch(74.1% 0.122 91.1);
Tailwind
colors: {
  custom: {
    50: '#dcc17d',
    500: '#c8a845',
    950: '#000000',
  },
}
SCSS
$custom: #c8a845;
$custom-light: #dcc17d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a845",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 45.344,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74149,
    "c": 0.12241,
    "h": 91.1
  },
  "luminance": 0.40714
}

Semantic roles & 50–950 ramp

primary
#C8A845
secondary
#98A6D1
accent
#6EDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C8A845

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

Preview Lab → · Contrast checker → · Palette generator →

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