#C8A837#C8A837

#C8A837 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.132 H 92.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C8A837
RGBrgb(200, 168, 55)
HSLhsl(47, 57%, 50%)
HSVhsv(47, 73%, 78%)
CMYKcmyk(0%, 16%, 72.5%, 21.6%)
CIE-LABlab(69.87, -0.13, 59.61)
CIE-LCHlch(69.87, 59.61, 90.12°)
OKLaboklab(74.03% -0.0062 0.1321)
OKLCHoklch(74.03% 0.132 92.7)
XYZxyz(38.5137, 40.5627, 9.4145)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A837 #3757C8
analogous
#C86037 #C8A837 #9FC837
triadic
#C8A837 #37C8A8 #A837C8
tetradic
#C8A837 #37C860 #3757C8 #C8379F
square
#C8A837 #37C860 #3757C8 #C8379F
split-complementary
#C8A837 #379FC8 #6037C8
monochromatic
#68571D #98802A #C8A837 #D5BD67 #E2D297

Accessibility & contrast

On white

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

On black

9.11
#C8A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A837
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A837#FFFFFF#000000##000000
##C8A8371.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#D89A91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a837;
/* rgb */ color: rgb(200, 168, 55);
/* oklch */ color: oklch(74.0% 0.132 92.7);
Tailwind
colors: {
  custom: {
    50: '#ddc175',
    500: '#c8a837',
    950: '#000000',
  },
}
SCSS
$custom: #c8a837;
$custom-light: #ddc175;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a837",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 46.759,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.74029,
    "c": 0.13228,
    "h": 92.7
  },
  "luminance": 0.4056
}

Semantic roles & 50–950 ramp

primary
#C8A837
secondary
#8D9BCE
accent
#69E048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A837

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

Preview Lab → · Contrast checker → · Palette generator →

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