#C8A63F#C8A63F

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

Color values

HEX#C8A63F
RGBrgb(200, 166, 63)
HSLhsl(45, 55%, 52%)
HSVhsv(45, 69%, 78%)
CMYKcmyk(0%, 17%, 68.5%, 21.6%)
CIE-LABlab(69.41, 1.35, 55.87)
CIE-LCHlch(69.41, 55.89, 88.62°)
OKLaboklab(73.68% -0.001 0.1257)
OKLCHoklch(73.68% 0.126 90.5)
XYZxyz(38.3549, 39.9129, 10.3854)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A63F #3F61C8
analogous
#C8613F #C8A63F #A6C83F
triadic
#C8A63F #3FC8A6 #A63FC8
tetradic
#C8A63F #3FC861 #3F61C8 #C83FA6
square
#C8A63F #3FC861 #3F61C8 #C83FA6
split-complementary
#C8A63F #3FA6C8 #613FC8
monochromatic
#6D5A1F #9D812D #C8A63F #D6BC6F #E3D29E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A63F#FFFFFF#000000##000000
##C8A63F1.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)
#B8A432
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#D89991
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a63f;
/* rgb */ color: rgb(200, 166, 63);
/* oklch */ color: oklch(73.7% 0.126 90.5);
Tailwind
colors: {
  custom: {
    50: '#dcc079',
    500: '#c8a63f',
    950: '#000000',
  },
}
SCSS
$custom: #c8a63f;
$custom-light: #dcc079;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a63f",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 45.109,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73684,
    "c": 0.12567,
    "h": 90.5
  },
  "luminance": 0.39911
}

Semantic roles & 50–950 ramp

primary
#C8A63F
secondary
#93A2D0
accent
#6EDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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