#C7A63A#C7A63A

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

Color values

HEX#C7A63A
RGBrgb(199, 166, 58)
HSLhsl(46, 56%, 50%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 16.6%, 70.9%, 22%)
CIE-LABlab(69.27, 0.65, 57.79)
CIE-LCHlch(69.27, 57.79, 89.36°)
OKLaboklab(73.54% -0.0036 0.1289)
OKLCHoklch(73.54% 0.129 91.6)
XYZxyz(37.9552, 39.7223, 9.6702)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A63A #3A5BC7
analogous
#C75F3A #C7A63A #A2C73A
triadic
#C7A63A #3AC7A6 #A63AC7
tetradic
#C7A63A #3AC75F #3A5BC7 #C73AA2
square
#C7A63A #3AC75F #3A5BC7 #C73AA2
split-complementary
#C7A63A #3AA2C7 #5F3AC7
monochromatic
#69571E #987F2B #C7A63A #D5BC6A #E2D199

Accessibility & contrast

On white

2.35
#C7A63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#C7A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A63A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A63A#FFFFFF#000000##000000
##C7A63A1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#D79990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c7a63a;
/* rgb */ color: rgb(199, 166, 58);
/* oklch */ color: oklch(73.5% 0.129 91.6);
Tailwind
colors: {
  custom: {
    50: '#dcc076',
    500: '#c7a63a',
    950: '#000000',
  },
}
SCSS
$custom: #c7a63a;
$custom-light: #dcc076;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a63a",
  "rgb": {
    "r": 199,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 45.957,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73542,
    "c": 0.12892,
    "h": 91.6
  },
  "luminance": 0.3972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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