#C7AA36#C7AA36

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

Color values

HEX#C7AA36
RGBrgb(199, 170, 54)
HSLhsl(48, 57%, 50%)
HSVhsv(48, 73%, 78%)
CMYKcmyk(0%, 14.6%, 72.9%, 22%)
CIE-LABlab(70.29, -1.67, 60.38)
CIE-LCHlch(70.29, 60.40, 91.59°)
OKLaboklab(74.34% -0.0107 0.1336)
OKLCHoklch(74.34% 0.134 94.6)
XYZxyz(38.5958, 41.1601, 9.4011)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AA36 #3653C7
analogous
#C76236 #C7AA36 #9CC736
triadic
#C7AA36 #36C7AA #AA36C7
tetradic
#C7AA36 #36C762 #3653C7 #C7369C
square
#C7AA36 #36C762 #3653C7 #C7369C
split-complementary
#C7AA36 #369CC7 #6236C7
monochromatic
#67581C #978129 #C7AA36 #D5BF65 #E2D395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AA36#FFFFFF#000000##000000
##C7AA361.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)
#BCA724
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#D79D93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c7aa36;
/* rgb */ color: rgb(199, 170, 54);
/* oklch */ color: oklch(74.3% 0.134 94.6);
Tailwind
colors: {
  custom: {
    50: '#dcc275',
    500: '#c7aa36',
    950: '#000000',
  },
}
SCSS
$custom: #c7aa36;
$custom-light: #dcc275;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aa36",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 48,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74336,
    "c": 0.13403,
    "h": 94.6
  },
  "luminance": 0.41158
}

Semantic roles & 50–950 ramp

primary
#C7AA36
secondary
#8B99CE
accent
#66E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AA36

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

Preview Lab → · Contrast checker → · Palette generator →

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