#C7AF3D#C7AF3D

#C7AF3D is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.4% C 0.133 H 97.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C7AF3D
RGBrgb(199, 175, 61)
HSLhsl(50, 55%, 51%)
HSVhsv(50, 69%, 78%)
CMYKcmyk(0%, 12.1%, 69.3%, 22%)
CIE-LABlab(71.65, -3.96, 58.98)
CIE-LCHlch(71.65, 59.11, 93.84°)
OKLaboklab(75.43% -0.0164 0.1319)
OKLCHoklch(75.43% 0.133 97.1)
XYZxyz(39.7274, 43.1410, 10.6485)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AF3D #3D55C7
analogous
#C76A3D #C7AF3D #9AC73D
triadic
#C7AF3D #3DC7AF #AF3DC7
tetradic
#C7AF3D #3DC76A #3D55C7 #C73D9A
square
#C7AF3D #3DC76A #3D55C7 #C73D9A
split-complementary
#C7AF3D #3D9AC7 #6A3DC7
monochromatic
#6B5E1F #9A872D #C7AF3D #D5C36C #E2D69C

Accessibility & contrast

On white

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

On black

9.63
#C7AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AF3D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AF3D#FFFFFF#000000##000000
##C7AF3D1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2D
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#D6A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7af3d;
/* rgb */ color: rgb(199, 175, 61);
/* oklch */ color: oklch(75.4% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#dcc679',
    500: '#c7af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7af3d;
$custom-light: #dcc679;
$custom-dark: #000000;
JSON
{
  "hex": "#c7af3d",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 49.565,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75429,
    "c": 0.13294,
    "h": 97.1
  },
  "luminance": 0.43139
}

Semantic roles & 50–950 ramp

primary
#C7AF3D
secondary
#919CCE
accent
#63DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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