#C8A73A#C8A73A

#C8A73A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.8% C 0.130 H 91.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#C8A73A
RGBrgb(200, 167, 58)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 16.5%, 71%, 21.6%)
CIE-LABlab(69.63, 0.55, 58.18)
CIE-LCHlch(69.63, 58.18, 89.46°)
OKLaboklab(73.85% -0.0039 0.1297)
OKLCHoklch(73.85% 0.13 91.7)
XYZxyz(38.4039, 40.2245, 9.7435)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A73A #3A5BC8
analogous
#C8603A #C8A73A #A2C83A
triadic
#C8A73A #3AC8A7 #A73AC8
tetradic
#C8A73A #3AC860 #3A5BC8 #C83AA2
square
#C8A73A #3AC860 #3A5BC8 #C83AA2
split-complementary
#C8A73A #3AA2C8 #603AC8
monochromatic
#6A581E #9A802B #C8A73A #D5BC6A #E3D29A

Accessibility & contrast

On white

2.32
#C8A73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#C8A73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A73A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A73A#FFFFFF#000000##000000
##C8A73A1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52B
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#D89991
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c8a73a;
/* rgb */ color: rgb(200, 167, 58);
/* oklch */ color: oklch(73.8% 0.130 91.7);
Tailwind
colors: {
  custom: {
    50: '#ddc077',
    500: '#c8a73a',
    950: '#000000',
  },
}
SCSS
$custom: #c8a73a;
$custom-light: #ddc077;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a73a",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 46.056,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73847,
    "c": 0.12972,
    "h": 91.7
  },
  "luminance": 0.40222
}

Semantic roles & 50–950 ramp

primary
#C8A73A
secondary
#8F9ECE
accent
#6BE048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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