#C8A73B#C8A73B

#C8A73B is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.9% C 0.129 H 91.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C8A73B
RGBrgb(200, 167, 59)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 16.5%, 70.5%, 21.6%)
CIE-LABlab(69.64, 0.60, 57.78)
CIE-LCHlch(69.64, 57.78, 89.40°)
OKLaboklab(73.86% -0.0036 0.129)
OKLCHoklch(73.86% 0.129 91.6)
XYZxyz(38.4296, 40.2348, 9.8788)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A73B #3B5CC8
analogous
#C8603B #C8A73B #A3C83B
triadic
#C8A73B #3BC8A7 #A73BC8
tetradic
#C8A73B #3BC860 #3B5CC8 #C83BA3
square
#C8A73B #3BC860 #3B5CC8 #C83BA3
split-complementary
#C8A73B #3BA3C8 #603BC8
monochromatic
#6B591E #9A802B #C8A73B #D5BC6B #E3D29B

Accessibility & contrast

On white

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

On black

9.05
#C8A73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A73B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A73B#FFFFFF#000000##000000
##C8A73B1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52C
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#D89A91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c8a73b;
/* rgb */ color: rgb(200, 167, 59);
/* oklch */ color: oklch(73.9% 0.129 91.6);
Tailwind
colors: {
  custom: {
    50: '#ddc077',
    500: '#c8a73b',
    950: '#000000',
  },
}
SCSS
$custom: #c8a73b;
$custom-light: #ddc077;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a73b",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 45.957,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73855,
    "c": 0.12905,
    "h": 91.6
  },
  "luminance": 0.40233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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