#C7B543#C7B543

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

Color values

HEX#C7B543
RGBrgb(199, 181, 67)
HSLhsl(52, 54%, 52%)
HSVhsv(52, 66%, 78%)
CMYKcmyk(0%, 9%, 66.3%, 22%)
CIE-LABlab(73.28, -6.77, 58.19)
CIE-LCHlch(73.28, 58.58, 96.63°)
OKLaboklab(76.74% -0.0237 0.1313)
OKLCHoklch(76.74% 0.133 100.3)
XYZxyz(41.0919, 45.5969, 11.9457)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B543 #4355C7
analogous
#C77343 #C7B543 #97C743
triadic
#C7B543 #43C7B5 #B543C7
tetradic
#C7B543 #43C773 #4355C7 #C74397
square
#C7B543 #43C773 #4355C7 #C74397
split-complementary
#C7B543 #4397C7 #7343C7
monochromatic
#6F6421 #9E8F2F #C7B543 #D5C872 #E3DAA1

Accessibility & contrast

On white

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

On black

10.12
#C7B543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B543
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B543#FFFFFF#000000##000000
##C7B5431.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7b543;
/* rgb */ color: rgb(199, 181, 67);
/* oklch */ color: oklch(76.7% 0.133 100.3);
Tailwind
colors: {
  custom: {
    50: '#dbca7d',
    500: '#c7b543',
    950: '#000000',
  },
}
SCSS
$custom: #c7b543;
$custom-light: #dbca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b543",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 51.818,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.1334,
    "h": 100.3
  },
  "luminance": 0.45595
}

Semantic roles & 50–950 ramp

primary
#C7B543
secondary
#969ED0
accent
#5EDD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B543

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

Preview Lab → · Contrast checker → · Palette generator →

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