#C8A530#C8A530

#C8A530 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.4% C 0.135 H 91.4°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C8A530
RGBrgb(200, 165, 48)
HSLhsl(46, 61%, 49%)
HSVhsv(46, 76%, 78%)
CMYKcmyk(0%, 17.5%, 76%, 21.6%)
CIE-LABlab(69.04, 1.16, 61.45)
CIE-LCHlch(69.04, 61.46, 88.92°)
OKLaboklab(73.36% -0.0033 0.1347)
OKLCHoklch(73.36% 0.135 91.4)
XYZxyz(37.8102, 39.4054, 8.4102)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A530 #3053C8
analogous
#C85930 #C8A530 #9FC830
triadic
#C8A530 #30C8A5 #A530C8
tetradic
#C8A530 #30C859 #3053C8 #C8309F
square
#C8A530 #30C859 #3053C8 #C8309F
split-complementary
#C8A530 #309FC8 #5930C8
monochromatic
#655418 #977C24 #C8A530 #D8BC5D #E4D08E

Accessibility & contrast

On white

2.36
#C8A530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#C8A530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A530
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A530#FFFFFF#000000##000000
##C8A5301.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#D9978E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c8a530;
/* rgb */ color: rgb(200, 165, 48);
/* oklch */ color: oklch(73.4% 0.135 91.4);
Tailwind
colors: {
  custom: {
    50: '#ddbf71',
    500: '#c8a530',
    950: '#000000',
  },
}
SCSS
$custom: #c8a530;
$custom-light: #ddbf71;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a530",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 46.184,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73364,
    "c": 0.13471,
    "h": 91.4
  },
  "luminance": 0.39403
}

Semantic roles & 50–950 ramp

primary
#C8A530
secondary
#8596CE
accent
#68E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A530

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

Preview Lab → · Contrast checker → · Palette generator →

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