#C7A63E#C7A63E

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

Color values

HEX#C7A63E
RGBrgb(199, 166, 62)
HSLhsl(46, 55%, 51%)
HSVhsv(46, 69%, 78%)
CMYKcmyk(0%, 16.6%, 68.8%, 22%)
CIE-LABlab(69.30, 0.86, 56.16)
CIE-LCHlch(69.30, 56.16, 89.12°)
OKLaboklab(73.58% -0.0025 0.1261)
OKLCHoklch(73.58% 0.126 91.1)
XYZxyz(38.0609, 39.7646, 10.2271)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A63E #3E5FC7
analogous
#C7613E #C7A63E #A4C73E
triadic
#C7A63E #3EC7A6 #A63EC7
tetradic
#C7A63E #3EC761 #3E5FC7 #C73EA4
square
#C7A63E #3EC761 #3E5FC7 #C73EA4
split-complementary
#C7A63E #3EA4C7 #613EC7
monochromatic
#6B591F #9B802D #C7A63E #D5BC6D #E3D29D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7A63E#FFFFFF#000000##000000
##C7A63E1.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)
#B8A430
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#D79990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c7a63e;
/* rgb */ color: rgb(199, 166, 62);
/* oklch */ color: oklch(73.6% 0.126 91.1);
Tailwind
colors: {
  custom: {
    50: '#dcc079',
    500: '#c7a63e',
    950: '#000000',
  },
}
SCSS
$custom: #c7a63e;
$custom-light: #dcc079;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a63e",
  "rgb": {
    "r": 199,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 45.547,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73575,
    "c": 0.12615,
    "h": 91.1
  },
  "luminance": 0.39762
}

Semantic roles & 50–950 ramp

primary
#C7A63E
secondary
#92A1CF
accent
#6DDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#151209
muted
#84817B

Preview Lab

Preview with #C7A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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