#C8A631#C8A631

#C8A631 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.6% C 0.135 H 91.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C8A631
RGBrgb(200, 166, 49)
HSLhsl(46, 61%, 49%)
HSVhsv(46, 76%, 78%)
CMYKcmyk(0%, 17%, 75.5%, 21.6%)
CIE-LABlab(69.31, 0.67, 61.34)
CIE-LCHlch(69.31, 61.34, 89.38°)
OKLaboklab(73.58% -0.0046 0.1346)
OKLCHoklch(73.58% 0.135 91.9)
XYZxyz(38.0122, 39.7759, 8.5805)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A631 #3153C8
analogous
#C85B31 #C8A631 #9FC831
triadic
#C8A631 #31C8A6 #A631C8
tetradic
#C8A631 #31C85B #3153C8 #C8319F
square
#C8A631 #31C85B #3153C8 #C8319F
split-complementary
#C8A631 #319FC8 #5B31C8
monochromatic
#665419 #977D25 #C8A631 #D8BC5F #E4D190

Accessibility & contrast

On white

2.35
#C8A631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#C8A631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A631
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A631#FFFFFF#000000##000000
##C8A6311.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41C
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#D9988F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a631;
/* rgb */ color: rgb(200, 166, 49);
/* oklch */ color: oklch(73.6% 0.135 91.9);
Tailwind
colors: {
  custom: {
    50: '#ddc072',
    500: '#c8a631',
    950: '#000000',
  },
}
SCSS
$custom: #c8a631;
$custom-light: #ddc072;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a631",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 46.49,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73576,
    "c": 0.13471,
    "h": 91.9
  },
  "luminance": 0.39774
}

Semantic roles & 50–950 ramp

primary
#C8A631
secondary
#8697CE
accent
#68E444
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A631

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

Preview Lab → · Contrast checker → · Palette generator →

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