#C7A537#C7A537

#C7A537 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.3% C 0.130 H 91.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C7A537
RGBrgb(199, 165, 55)
HSLhsl(46, 57%, 50%)
HSVhsv(46, 72%, 78%)
CMYKcmyk(0%, 17.1%, 72.4%, 22%)
CIE-LABlab(68.99, 1.03, 58.71)
CIE-LCHlch(68.99, 58.72, 88.99°)
OKLaboklab(73.31% -0.0028 0.1303)
OKLCHoklch(73.31% 0.13 91.2)
XYZxyz(37.7000, 39.3305, 9.2195)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A537 #3759C7
analogous
#C75D37 #C7A537 #A1C737
triadic
#C7A537 #37C7A5 #A537C7
tetradic
#C7A537 #37C75D #3759C7 #C737A1
square
#C7A537 #37C75D #3759C7 #C737A1
split-complementary
#C7A537 #37A1C7 #5D37C7
monochromatic
#67551C #977D2A #C7A537 #D5BB66 #E2D096

Accessibility & contrast

On white

2.37
#C7A537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C7A537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A537
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A537#FFFFFF#000000##000000
##C7A5371.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#D7978F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c7a537;
/* rgb */ color: rgb(199, 165, 55);
/* oklch */ color: oklch(73.3% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#dcbf75',
    500: '#c7a537',
    950: '#000000',
  },
}
SCSS
$custom: #c7a537;
$custom-light: #dcbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a537",
  "rgb": {
    "r": 199,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 45.833,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73313,
    "c": 0.1303,
    "h": 91.2
  },
  "luminance": 0.39328
}

Semantic roles & 50–950 ramp

primary
#C7A537
secondary
#8C9CCD
accent
#6CE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A537

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

Preview Lab → · Contrast checker → · Palette generator →

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