#C7AF41#C7AF41

#C7AF41 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.5% C 0.130 H 96.8°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C7AF41
RGBrgb(199, 175, 65)
HSLhsl(49, 54%, 52%)
HSVhsv(49, 67%, 78%)
CMYKcmyk(0%, 12.1%, 67.3%, 22%)
CIE-LABlab(71.68, -3.74, 57.36)
CIE-LCHlch(71.68, 57.48, 93.73°)
OKLaboklab(75.46% -0.0153 0.1292)
OKLCHoklch(75.46% 0.13 96.8)
XYZxyz(39.8392, 43.1857, 11.2372)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AF41 #4159C7
analogous
#C76C41 #C7AF41 #9CC741
triadic
#C7AF41 #41C7AF #AF41C7
tetradic
#C7AF41 #41C76C #4159C7 #C7419C
square
#C7AF41 #41C76C #4159C7 #C7419C
split-complementary
#C7AF41 #419CC7 #6C41C7
monochromatic
#6D6020 #9D892E #C7AF41 #D5C370 #E3D7A0

Accessibility & contrast

On white

2.18
#C7AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C7AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AF41
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AF41#FFFFFF#000000##000000
##C7AF411.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#D6A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7af41;
/* rgb */ color: rgb(199, 175, 65);
/* oklch */ color: oklch(75.5% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#dbc67b',
    500: '#c7af41',
    950: '#000000',
  },
}
SCSS
$custom: #c7af41;
$custom-light: #dbc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7af41",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 49.254,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75463,
    "c": 0.1301,
    "h": 96.8
  },
  "luminance": 0.43184
}

Semantic roles & 50–950 ramp

primary
#C7AF41
secondary
#959FCF
accent
#64DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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