#C8A431#C8A431

#C8A431 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.2% C 0.134 H 90.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#C8A431
RGBrgb(200, 164, 49)
HSLhsl(46, 61%, 49%)
HSVhsv(46, 76%, 78%)
CMYKcmyk(0%, 18%, 75.5%, 21.6%)
CIE-LABlab(68.79, 1.74, 60.85)
CIE-LCHlch(68.79, 60.87, 88.37°)
OKLaboklab(73.17% -0.0015 0.1336)
OKLCHoklch(73.17% 0.134 90.7)
XYZxyz(37.6514, 39.0544, 8.4603)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A431 #3155C8
analogous
#C85831 #C8A431 #A1C831
triadic
#C8A431 #31C8A4 #A431C8
tetradic
#C8A431 #31C858 #3155C8 #C831A1
square
#C8A431 #31C858 #3155C8 #C831A1
split-complementary
#C8A431 #31A1C8 #5831C8
monochromatic
#665319 #977C25 #C8A431 #D8BB5F #E4D090

Accessibility & contrast

On white

2.38
#C8A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#C8A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A431
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A431#FFFFFF#000000##000000
##C8A4311.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21D
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#D9968E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c8a431;
/* rgb */ color: rgb(200, 164, 49);
/* oklch */ color: oklch(73.2% 0.134 90.7);
Tailwind
colors: {
  custom: {
    50: '#ddbe71',
    500: '#c8a431',
    950: '#000000',
  },
}
SCSS
$custom: #c8a431;
$custom-light: #ddbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a431",
  "rgb": {
    "r": 200,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 45.695,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.13359,
    "h": 90.7
  },
  "luminance": 0.39052
}

Semantic roles & 50–950 ramp

primary
#C8A431
secondary
#8698CE
accent
#6AE444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A431

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

Preview Lab → · Contrast checker → · Palette generator →

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