#C7A73A#C7A73A

#C7A73A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.130 H 92.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#C7A73A
RGBrgb(199, 167, 58)
HSLhsl(46, 56%, 50%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 16.1%, 70.9%, 22%)
CIE-LABlab(69.53, 0.12, 58.05)
CIE-LCHlch(69.53, 58.05, 89.89°)
OKLaboklab(73.75% -0.0051 0.1294)
OKLCHoklch(73.75% 0.13 92.3)
XYZxyz(38.1377, 40.0872, 9.7310)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A73A #3A5AC7
analogous
#C7603A #C7A73A #A0C73A
triadic
#C7A73A #3AC7A7 #A73AC7
tetradic
#C7A73A #3AC760 #3A5AC7 #C73AA0
square
#C7A73A #3AC760 #3A5AC7 #C73AA0
split-complementary
#C7A73A #3AA0C7 #603AC7
monochromatic
#69581E #98802B #C7A73A #D5BC6A #E2D299

Accessibility & contrast

On white

2.33
#C7A73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#C7A73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A73A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A73A#FFFFFF#000000##000000
##C7A73A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42B
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#D79A91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c7a73a;
/* rgb */ color: rgb(199, 167, 58);
/* oklch */ color: oklch(73.7% 0.130 92.3);
Tailwind
colors: {
  custom: {
    50: '#dcc077',
    500: '#c7a73a',
    950: '#000000',
  },
}
SCSS
$custom: #c7a73a;
$custom-light: #dcc077;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a73a",
  "rgb": {
    "r": 199,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 46.383,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73747,
    "c": 0.12953,
    "h": 92.3
  },
  "luminance": 0.40085
}

Semantic roles & 50–950 ramp

primary
#C7A73A
secondary
#8F9DCE
accent
#6BDF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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