#C7A63B#C7A63B

#C7A63B is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.6% C 0.128 H 91.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C7A63B
RGBrgb(199, 166, 59)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 70%, 78%)
CMYKcmyk(0%, 16.6%, 70.4%, 22%)
CIE-LABlab(69.28, 0.70, 57.39)
CIE-LCHlch(69.28, 57.39, 89.30°)
OKLaboklab(73.55% -0.0033 0.1282)
OKLCHoklch(73.55% 0.128 91.5)
XYZxyz(37.9809, 39.7325, 9.8055)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A63B #3B5CC7
analogous
#C7603B #C7A63B #A2C73B
triadic
#C7A63B #3BC7A6 #A63BC7
tetradic
#C7A63B #3BC760 #3B5CC7 #C73BA2
square
#C7A63B #3BC760 #3B5CC7 #C73BA2
split-complementary
#C7A63B #3BA2C7 #603BC7
monochromatic
#69581E #997F2C #C7A63B #D5BC6B #E2D19A

Accessibility & contrast

On white

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

On black

8.95
#C7A63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A63B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A63B#FFFFFF#000000##000000
##C7A63B1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7a63b;
/* rgb */ color: rgb(199, 166, 59);
/* oklch */ color: oklch(73.6% 0.128 91.5);
Tailwind
colors: {
  custom: {
    50: '#dcc077',
    500: '#c7a63b',
    950: '#000000',
  },
}
SCSS
$custom: #c7a63b;
$custom-light: #dcc077;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a63b",
  "rgb": {
    "r": 199,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 45.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7355,
    "c": 0.12824,
    "h": 91.5
  },
  "luminance": 0.3973
}

Semantic roles & 50–950 ramp

primary
#C7A63B
secondary
#909ECE
accent
#6CDF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A63B

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

Preview Lab → · Contrast checker → · Palette generator →

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