#C8A940#C8A940

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

Color values

HEX#C8A940
RGBrgb(200, 169, 64)
HSLhsl(46, 55%, 52%)
HSVhsv(46, 68%, 78%)
CMYKcmyk(0%, 15.5%, 68%, 21.6%)
CIE-LABlab(70.20, -0.19, 56.27)
CIE-LCHlch(70.20, 56.27, 90.20°)
OKLaboklab(74.31% -0.0053 0.1267)
OKLCHoklch(74.31% 0.127 92.4)
XYZxyz(38.9348, 41.0276, 10.7179)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A940 #405FC8
analogous
#C86540 #C8A940 #A3C840
triadic
#C8A940 #40C8A9 #A940C8
tetradic
#C8A940 #40C865 #405FC8 #C840A3
square
#C8A940 #40C865 #405FC8 #C840A3
split-complementary
#C8A940 #40A3C8 #6540C8
monochromatic
#6E5C20 #9D842D #C8A940 #D6BE70 #E3D49F

Accessibility & contrast

On white

2.28
#C8A940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C8A940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A940
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A940#FFFFFF#000000##000000
##C8A9401.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#D89C93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8a940;
/* rgb */ color: rgb(200, 169, 64);
/* oklch */ color: oklch(74.3% 0.127 92.4);
Tailwind
colors: {
  custom: {
    50: '#dcc27a',
    500: '#c8a940',
    950: '#000000',
  },
}
SCSS
$custom: #c8a940;
$custom-light: #dcc27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a940",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 46.324,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.12678,
    "h": 92.4
  },
  "luminance": 0.41025
}

Semantic roles & 50–950 ramp

primary
#C8A940
secondary
#94A2D0
accent
#6BDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8A940

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

Preview Lab → · Contrast checker → · Palette generator →

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