#C7A73E#C7A73E

#C7A73E is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.8% C 0.127 H 91.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C7A73E
RGBrgb(199, 167, 62)
HSLhsl(46, 55%, 51%)
HSVhsv(46, 69%, 78%)
CMYKcmyk(0%, 16.1%, 68.8%, 22%)
CIE-LABlab(69.56, 0.33, 56.43)
CIE-LCHlch(69.56, 56.43, 89.67°)
OKLaboklab(73.78% -0.004 0.1267)
OKLCHoklch(73.78% 0.127 91.8)
XYZxyz(38.2434, 40.1295, 10.2879)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A73E #3E5EC7
analogous
#C7623E #C7A73E #A2C73E
triadic
#C7A73E #3EC7A7 #A73EC7
tetradic
#C7A73E #3EC762 #3E5EC7 #C73EA2
square
#C7A73E #3EC762 #3E5EC7 #C73EA2
split-complementary
#C7A73E #3EA2C7 #623EC7
monochromatic
#6B5A1F #9B812D #C7A73E #D5BD6D #E3D29D

Accessibility & contrast

On white

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

On black

9.03
#C7A73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A73E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A73E#FFFFFF#000000##000000
##C7A73E1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7a73e;
/* rgb */ color: rgb(199, 167, 62);
/* oklch */ color: oklch(73.8% 0.127 91.8);
Tailwind
colors: {
  custom: {
    50: '#dcc079',
    500: '#c7a73e',
    950: '#000000',
  },
}
SCSS
$custom: #c7a73e;
$custom-light: #dcc079;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a73e",
  "rgb": {
    "r": 199,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 45.985,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7378,
    "c": 0.12676,
    "h": 91.8
  },
  "luminance": 0.40127
}

Semantic roles & 50–950 ramp

primary
#C7A73E
secondary
#92A0CF
accent
#6CDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#151209
muted
#84817B

Preview Lab

Preview with #C7A73E

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

Preview Lab → · Contrast checker → · Palette generator →

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