#C8A937#C8A937

#C8A937 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.133 H 93.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C8A937
RGBrgb(200, 169, 55)
HSLhsl(47, 57%, 50%)
HSVhsv(47, 73%, 78%)
CMYKcmyk(0%, 15.5%, 72.5%, 21.6%)
CIE-LABlab(70.13, -0.66, 59.87)
CIE-LCHlch(70.13, 59.87, 90.63°)
OKLaboklab(74.24% -0.0077 0.1327)
OKLCHoklch(74.24% 0.133 93.3)
XYZxyz(38.6990, 40.9333, 9.4763)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A937 #3756C8
analogous
#C86037 #C8A937 #9FC837
triadic
#C8A937 #37C8A9 #A937C8
tetradic
#C8A937 #37C860 #3756C8 #C8379F
square
#C8A937 #37C860 #3756C8 #C8379F
split-complementary
#C8A937 #379FC8 #6037C8
monochromatic
#68581D #98802A #C8A937 #D5BE67 #E2D297

Accessibility & contrast

On white

2.29
#C8A937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#C8A937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A937
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A937#FFFFFF#000000##000000
##C8A9371.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a937;
/* rgb */ color: rgb(200, 169, 55);
/* oklch */ color: oklch(74.2% 0.133 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddc275',
    500: '#c8a937',
    950: '#000000',
  },
}
SCSS
$custom: #c8a937;
$custom-light: #ddc275;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a937",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 47.172,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.74235,
    "c": 0.1329,
    "h": 93.3
  },
  "luminance": 0.40931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8A937

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

Preview Lab → · Contrast checker → · Palette generator →

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