#C7AF37#C7AF37

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

Color values

HEX#C7AF37
RGBrgb(199, 175, 55)
HSLhsl(50, 57%, 50%)
HSVhsv(50, 72%, 78%)
CMYKcmyk(0%, 12.1%, 72.4%, 22%)
CIE-LABlab(71.61, -4.26, 61.29)
CIE-LCHlch(71.61, 61.43, 93.98°)
OKLaboklab(75.38% -0.0179 0.1357)
OKLCHoklch(75.38% 0.137 97.5)
XYZxyz(39.5747, 43.0799, 9.8444)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AF37 #374FC7
analogous
#C76737 #C7AF37 #97C737
triadic
#C7AF37 #37C7AF #AF37C7
tetradic
#C7AF37 #37C767 #374FC7 #C73797
square
#C7AF37 #37C767 #374FC7 #C73797
split-complementary
#C7AF37 #3797C7 #6737C7
monochromatic
#675B1C #97852A #C7AF37 #D5C266 #E2D596

Accessibility & contrast

On white

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

On black

9.62
#C7AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AF37
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AF37#FFFFFF#000000##000000
##C7AF371.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#D7A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7af37;
/* rgb */ color: rgb(199, 175, 55);
/* oklch */ color: oklch(75.4% 0.137 97.5);
Tailwind
colors: {
  custom: {
    50: '#dcc676',
    500: '#c7af37',
    950: '#000000',
  },
}
SCSS
$custom: #c7af37;
$custom-light: #dcc676;
$custom-dark: #000000;
JSON
{
  "hex": "#c7af37",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 50,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75383,
    "c": 0.1369,
    "h": 97.5
  },
  "luminance": 0.43078
}

Semantic roles & 50–950 ramp

primary
#C7AF37
secondary
#8C97CD
accent
#61E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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