#C8A63A#C8A63A

#C8A63A is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.6% C 0.129 H 91.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#C8A63A
RGBrgb(200, 166, 58)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 17%, 71%, 21.6%)
CIE-LABlab(69.37, 1.08, 57.92)
CIE-LCHlch(69.37, 57.93, 88.93°)
OKLaboklab(73.64% -0.0024 0.1291)
OKLCHoklch(73.64% 0.129 91.1)
XYZxyz(38.2214, 39.8596, 9.6827)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A63A #3A5CC8
analogous
#C85F3A #C8A63A #A3C83A
triadic
#C8A63A #3AC8A6 #A63AC8
tetradic
#C8A63A #3AC85F #3A5CC8 #C83AA3
square
#C8A63A #3AC85F #3A5CC8 #C83AA3
split-complementary
#C8A63A #3AA3C8 #5F3AC8
monochromatic
#6A581E #9A7F2B #C8A63A #D5BC6A #E3D19A

Accessibility & contrast

On white

2.34
#C8A63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#C8A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A63A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A63A#FFFFFF#000000##000000
##C8A63A1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#C1AD40
Tritanopia (blue-blind)
#D89890
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a63a;
/* rgb */ color: rgb(200, 166, 58);
/* oklch */ color: oklch(73.6% 0.129 91.1);
Tailwind
colors: {
  custom: {
    50: '#ddc076',
    500: '#c8a63a',
    950: '#000000',
  },
}
SCSS
$custom: #c8a63a;
$custom-light: #ddc076;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a63a",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 45.634,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73642,
    "c": 0.12913,
    "h": 91.1
  },
  "luminance": 0.39857
}

Semantic roles & 50–950 ramp

primary
#C8A63A
secondary
#8F9ECE
accent
#6CE048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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