#C8A63B#C8A63B

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

Color values

HEX#C8A63B
RGBrgb(200, 166, 59)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 17%, 70.5%, 21.6%)
CIE-LABlab(69.38, 1.14, 57.52)
CIE-LCHlch(69.38, 57.53, 88.87°)
OKLaboklab(73.65% -0.0021 0.1284)
OKLCHoklch(73.65% 0.128 90.9)
XYZxyz(38.2471, 39.8698, 9.8179)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A63B #3B5DC8
analogous
#C85F3B #C8A63B #A3C83B
triadic
#C8A63B #3BC8A6 #A63BC8
tetradic
#C8A63B #3BC85F #3B5DC8 #C83BA3
square
#C8A63B #3BC85F #3B5DC8 #C83BA3
split-complementary
#C8A63B #3BA3C8 #5F3BC8
monochromatic
#6B581E #9A802B #C8A63B #D5BC6B #E3D19B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A63B#FFFFFF#000000##000000
##C8A63B1.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)
#B8A42C
Deuteranopia (green-blind)
#C1AD40
Tritanopia (blue-blind)
#D89890
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a63b;
/* rgb */ color: rgb(200, 166, 59);
/* oklch */ color: oklch(73.7% 0.128 90.9);
Tailwind
colors: {
  custom: {
    50: '#ddc077',
    500: '#c8a63b',
    950: '#000000',
  },
}
SCSS
$custom: #c8a63b;
$custom-light: #ddc077;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a63b",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 45.532,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7365,
    "c": 0.12846,
    "h": 90.9
  },
  "luminance": 0.39868
}

Semantic roles & 50–950 ramp

primary
#C8A63B
secondary
#909FCF
accent
#6DDF48
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A63B

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

Preview Lab → · Contrast checker → · Palette generator →

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