#C7B643#C7B643

#C7B643 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.134 H 100.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C7B643
RGBrgb(199, 182, 67)
HSLhsl(52, 54%, 52%)
HSVhsv(52, 66%, 78%)
CMYKcmyk(0%, 8.5%, 66.3%, 22%)
CIE-LABlab(73.55, -7.29, 58.47)
CIE-LCHlch(73.55, 58.92, 97.11°)
OKLaboklab(76.95% -0.0252 0.1319)
OKLCHoklch(76.95% 0.134 100.8)
XYZxyz(41.2960, 46.0050, 12.0137)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B643 #4354C7
analogous
#C77443 #C7B643 #96C743
triadic
#C7B643 #43C7B6 #B643C7
tetradic
#C7B643 #43C774 #4354C7 #C74396
square
#C7B643 #43C774 #4354C7 #C74396
split-complementary
#C7B643 #4396C7 #7443C7
monochromatic
#6F6521 #9E902F #C7B643 #D5C872 #E3DBA1

Accessibility & contrast

On white

2.06
#C7B643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C7B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B643
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B643#FFFFFF#000000##000000
##C7B6431.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B134
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#D6A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b643;
/* rgb */ color: rgb(199, 182, 67);
/* oklch */ color: oklch(76.9% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#dbcb7d',
    500: '#c7b643',
    950: '#000000',
  },
}
SCSS
$custom: #c7b643;
$custom-light: #dbcb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b643",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 52.273,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76949,
    "c": 0.13425,
    "h": 100.8
  },
  "luminance": 0.46003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7B643

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

Preview Lab → · Contrast checker → · Palette generator →

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