#C8A939#C8A939

#C8A939 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.132 H 93.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C8A939
RGBrgb(200, 169, 57)
HSLhsl(47, 57%, 50%)
HSVhsv(47, 72%, 78%)
CMYKcmyk(0%, 15.5%, 71.5%, 21.6%)
CIE-LABlab(70.14, -0.56, 59.09)
CIE-LCHlch(70.14, 59.10, 90.55°)
OKLaboklab(74.25% -0.0072 0.1314)
OKLCHoklch(74.25% 0.132 93.1)
XYZxyz(38.7480, 40.9529, 9.7339)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A939 #3958C8
analogous
#C86139 #C8A939 #9FC839
triadic
#C8A939 #39C8A9 #A939C8
tetradic
#C8A939 #39C861 #3958C8 #C8399F
square
#C8A939 #39C861 #3958C8 #C8399F
split-complementary
#C8A939 #399FC8 #6139C8
monochromatic
#69591D #99812B #C8A939 #D5BE69 #E3D399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A939#FFFFFF#000000##000000
##C8A9391.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)
#BBA629
Deuteranopia (green-blind)
#C3AF3F
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a939;
/* rgb */ color: rgb(200, 169, 57);
/* oklch */ color: oklch(74.3% 0.132 93.1);
Tailwind
colors: {
  custom: {
    50: '#ddc276',
    500: '#c8a939',
    950: '#000000',
  },
}
SCSS
$custom: #c8a939;
$custom-light: #ddc276;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a939",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 46.993,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7425,
    "c": 0.13162,
    "h": 93.1
  },
  "luminance": 0.40951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8A939

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

Preview Lab → · Contrast checker → · Palette generator →

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