#C7AA37#C7AA37

#C7AA37 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.133 H 94.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C7AA37
RGBrgb(199, 170, 55)
HSLhsl(48, 57%, 50%)
HSVhsv(48, 72%, 78%)
CMYKcmyk(0%, 14.6%, 72.4%, 22%)
CIE-LABlab(70.29, -1.63, 60.00)
CIE-LCHlch(70.29, 60.02, 91.55°)
OKLaboklab(74.34% -0.0104 0.133)
OKLCHoklch(74.34% 0.133 94.5)
XYZxyz(38.6195, 41.1695, 9.5260)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AA37 #3754C7
analogous
#C76237 #C7AA37 #9CC737
triadic
#C7AA37 #37C7AA #AA37C7
tetradic
#C7AA37 #37C762 #3754C7 #C7379C
square
#C7AA37 #37C762 #3754C7 #C7379C
split-complementary
#C7AA37 #379CC7 #6237C7
monochromatic
#67581C #97812A #C7AA37 #D5BF66 #E2D396

Accessibility & contrast

On white

2.27
#C7AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C7AA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AA37
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AA37#FFFFFF#000000##000000
##C7AA371.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#D79D93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c7aa37;
/* rgb */ color: rgb(199, 170, 55);
/* oklch */ color: oklch(74.3% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#dcc275',
    500: '#c7aa37',
    950: '#000000',
  },
}
SCSS
$custom: #c7aa37;
$custom-light: #dcc275;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aa37",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 47.917,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74343,
    "c": 0.1334,
    "h": 94.5
  },
  "luminance": 0.41167
}

Semantic roles & 50–950 ramp

primary
#C7AA37
secondary
#8C99CD
accent
#66E048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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