#C7B537#C7B537

#C7B537 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.6% C 0.142 H 100.9°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#C7B537
RGBrgb(199, 181, 55)
HSLhsl(53, 57%, 50%)
HSVhsv(53, 72%, 78%)
CMYKcmyk(0%, 9%, 72.4%, 22%)
CIE-LABlab(73.20, -7.40, 62.83)
CIE-LCHlch(73.20, 63.27, 96.72°)
OKLaboklab(76.64% -0.0268 0.139)
OKLCHoklch(76.64% 0.142 100.9)
XYZxyz(40.7685, 45.4676, 10.2424)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B537 #3749C7
analogous
#C76D37 #C7B537 #91C737
triadic
#C7B537 #37C7B5 #B537C7
tetradic
#C7B537 #37C76D #3749C7 #C73791
square
#C7B537 #37C76D #3749C7 #C73791
split-complementary
#C7B537 #3791C7 #6D37C7
monochromatic
#675E1C #97892A #C7B537 #D5C766 #E2D996

Accessibility & contrast

On white

2.08
#C7B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#C7B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B537
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B537#FFFFFF#000000##000000
##C7B5371.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B022
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#D6A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b537;
/* rgb */ color: rgb(199, 181, 55);
/* oklch */ color: oklch(76.6% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#dcca76',
    500: '#c7b537',
    950: '#000000',
  },
}
SCSS
$custom: #c7b537;
$custom-light: #dcca76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b537",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 52.5,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76644,
    "c": 0.14157,
    "h": 100.9
  },
  "luminance": 0.45466
}

Semantic roles & 50–950 ramp

primary
#C7B537
secondary
#8C94CD
accent
#5BE048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B537

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

Preview Lab → · Contrast checker → · Palette generator →

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