#C7A336#C7A336

#C7A336 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.9% C 0.130 H 90.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C7A336
RGBrgb(199, 163, 54)
HSLhsl(45, 57%, 50%)
HSVhsv(45, 73%, 78%)
CMYKcmyk(0%, 18.1%, 72.9%, 22%)
CIE-LABlab(68.46, 2.06, 58.59)
CIE-LCHlch(68.46, 58.62, 87.99°)
OKLaboklab(72.9% 0 0.1298)
OKLCHoklch(72.9% 0.13 90)
XYZxyz(37.3184, 38.6052, 8.9753)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A336 #365AC7
analogous
#C75A36 #C7A336 #A3C736
triadic
#C7A336 #36C7A3 #A336C7
tetradic
#C7A336 #36C75A #365AC7 #C736A3
square
#C7A336 #36C75A #365AC7 #C736A3
split-complementary
#C7A336 #36A3C7 #5A36C7
monochromatic
#67541C #977C29 #C7A336 #D5B965 #E2CF95

Accessibility & contrast

On white

2.41
#C7A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#C7A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A336
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A336#FFFFFF#000000##000000
##C7A3361.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A126
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a336;
/* rgb */ color: rgb(199, 163, 54);
/* oklch */ color: oklch(72.9% 0.130 90.0);
Tailwind
colors: {
  custom: {
    50: '#dcbd74',
    500: '#c7a336',
    950: '#000000',
  },
}
SCSS
$custom: #c7a336;
$custom-light: #dcbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a336",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 45.103,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72896,
    "c": 0.12981,
    "h": 90
  },
  "luminance": 0.38603
}

Semantic roles & 50–950 ramp

primary
#C7A336
secondary
#8B9CCE
accent
#6DE147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A336

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

Preview Lab → · Contrast checker → · Palette generator →

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