#C7A337#C7A337

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

Color values

HEX#C7A337
RGBrgb(199, 163, 55)
HSLhsl(45, 57%, 50%)
HSVhsv(45, 72%, 78%)
CMYKcmyk(0%, 18.1%, 72.4%, 22%)
CIE-LABlab(68.47, 2.10, 58.20)
CIE-LCHlch(68.47, 58.23, 87.93°)
OKLaboklab(72.9% 0.0003 0.1292)
OKLCHoklch(72.9% 0.129 89.9)
XYZxyz(37.3421, 38.6147, 9.1002)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A337 #375BC7
analogous
#C75B37 #C7A337 #A3C737
triadic
#C7A337 #37C7A3 #A337C7
tetradic
#C7A337 #37C75B #375BC7 #C737A3
square
#C7A337 #37C75B #375BC7 #C737A3
split-complementary
#C7A337 #37A3C7 #5B37C7
monochromatic
#67541C #977C2A #C7A337 #D5B966 #E2CF96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7A337#FFFFFF#000000##000000
##C7A3371.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)
#B5A127
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a337;
/* rgb */ color: rgb(199, 163, 55);
/* oklch */ color: oklch(72.9% 0.129 89.9);
Tailwind
colors: {
  custom: {
    50: '#dcbd75',
    500: '#c7a337',
    950: '#000000',
  },
}
SCSS
$custom: #c7a337;
$custom-light: #dcbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a337",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 45,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72904,
    "c": 0.12918,
    "h": 89.9
  },
  "luminance": 0.38612
}

Semantic roles & 50–950 ramp

primary
#C7A337
secondary
#8C9DCD
accent
#6EE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A337

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

Preview Lab → · Contrast checker → · Palette generator →

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