#C7B541#C7B541

#C7B541 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.7% C 0.135 H 100.4°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#C7B541
RGBrgb(199, 181, 65)
HSLhsl(52, 54%, 52%)
HSVhsv(52, 67%, 78%)
CMYKcmyk(0%, 9%, 67.3%, 22%)
CIE-LABlab(73.27, -6.88, 59.00)
CIE-LCHlch(73.27, 59.40, 96.65°)
OKLaboklab(76.72% -0.0243 0.1327)
OKLCHoklch(76.72% 0.135 100.4)
XYZxyz(41.0330, 45.5733, 11.6352)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B541 #4153C7
analogous
#C77241 #C7B541 #96C741
triadic
#C7B541 #41C7B5 #B541C7
tetradic
#C7B541 #41C772 #4153C7 #C74196
square
#C7B541 #41C772 #4153C7 #C74196
split-complementary
#C7B541 #4196C7 #7241C7
monochromatic
#6D6320 #9D8E2E #C7B541 #D5C770 #E3DAA0

Accessibility & contrast

On white

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

On black

10.11
#C7B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B541
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B541#FFFFFF#000000##000000
##C7B5411.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B031
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#D6A89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b541;
/* rgb */ color: rgb(199, 181, 65);
/* oklch */ color: oklch(76.7% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbca7c',
    500: '#c7b541',
    950: '#000000',
  },
}
SCSS
$custom: #c7b541;
$custom-light: #dbca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b541",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 51.94,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76721,
    "c": 0.13487,
    "h": 100.4
  },
  "luminance": 0.45572
}

Semantic roles & 50–950 ramp

primary
#C7B541
secondary
#959CCF
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B541

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

Preview Lab → · Contrast checker → · Palette generator →

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