#C8A63D#C8A63D

#C8A63D is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.7% C 0.127 H 90.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C8A63D
RGBrgb(200, 166, 61)
HSLhsl(45, 56%, 51%)
HSVhsv(45, 70%, 78%)
CMYKcmyk(0%, 17%, 69.5%, 21.6%)
CIE-LABlab(69.39, 1.24, 56.70)
CIE-LCHlch(69.39, 56.72, 88.75°)
OKLaboklab(73.67% -0.0016 0.1271)
OKLCHoklch(73.67% 0.127 90.7)
XYZxyz(38.3000, 39.8910, 10.0964)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A63D #3D5FC8
analogous
#C8603D #C8A63D #A4C83D
triadic
#C8A63D #3DC8A6 #A63DC8
tetradic
#C8A63D #3DC860 #3D5FC8 #C83DA4
square
#C8A63D #3DC860 #3D5FC8 #C83DA4
split-complementary
#C8A63D #3DA4C8 #603DC8
monochromatic
#6C591F #9C802C #C8A63D #D6BC6D #E3D29C

Accessibility & contrast

On white

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

On black

8.98
#C8A63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A63D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A63D#FFFFFF#000000##000000
##C8A63D1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42F
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#D89990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a63d;
/* rgb */ color: rgb(200, 166, 61);
/* oklch */ color: oklch(73.7% 0.127 90.7);
Tailwind
colors: {
  custom: {
    50: '#ddc078',
    500: '#c8a63d',
    950: '#000000',
  },
}
SCSS
$custom: #c8a63d;
$custom-light: #ddc078;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a63d",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 45.324,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73667,
    "c": 0.12709,
    "h": 90.7
  },
  "luminance": 0.39889
}

Semantic roles & 50–950 ramp

primary
#C8A63D
secondary
#92A1CF
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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