#C8A73F#C8A73F

#C8A73F is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.9% C 0.126 H 91.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#C8A73F
RGBrgb(200, 167, 63)
HSLhsl(46, 55%, 52%)
HSVhsv(46, 69%, 78%)
CMYKcmyk(0%, 16.5%, 68.5%, 21.6%)
CIE-LABlab(69.67, 0.82, 56.14)
CIE-LCHlch(69.67, 56.15, 89.17°)
OKLaboklab(73.89% -0.0026 0.1262)
OKLCHoklch(73.89% 0.126 91.2)
XYZxyz(38.5374, 40.2779, 10.4463)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A73F #3F60C8
analogous
#C8623F #C8A73F #A5C83F
triadic
#C8A73F #3FC8A7 #A73FC8
tetradic
#C8A73F #3FC862 #3F60C8 #C83FA5
square
#C8A73F #3FC862 #3F60C8 #C83FA5
split-complementary
#C8A73F #3FA5C8 #623FC8
monochromatic
#6D5B1F #9D822D #C8A73F #D6BD6F #E3D39E

Accessibility & contrast

On white

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

On black

9.06
#C8A73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A73F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A73F#FFFFFF#000000##000000
##C8A73F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a73f;
/* rgb */ color: rgb(200, 167, 63);
/* oklch */ color: oklch(73.9% 0.126 91.2);
Tailwind
colors: {
  custom: {
    50: '#dcc079',
    500: '#c8a73f',
    950: '#000000',
  },
}
SCSS
$custom: #c8a73f;
$custom-light: #dcc079;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a73f",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 45.547,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73889,
    "c": 0.12627,
    "h": 91.2
  },
  "luminance": 0.40276
}

Semantic roles & 50–950 ramp

primary
#C8A73F
secondary
#93A2D0
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A73F

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

Preview Lab → · Contrast checker → · Palette generator →

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