#C7B43D#C7B43D

#C7B43D is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.5% C 0.137 H 100.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C7B43D
RGBrgb(199, 180, 61)
HSLhsl(52, 55%, 51%)
HSVhsv(52, 69%, 78%)
CMYKcmyk(0%, 9.5%, 69.3%, 22%)
CIE-LABlab(72.97, -6.58, 60.31)
CIE-LCHlch(72.97, 60.67, 96.23°)
OKLaboklab(76.48% -0.0239 0.1348)
OKLCHoklch(76.48% 0.137 100)
XYZxyz(40.7186, 45.1234, 10.9789)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B43D #3D50C7
analogous
#C76F3D #C7B43D #95C73D
triadic
#C7B43D #3DC7B4 #B43DC7
tetradic
#C7B43D #3DC76F #3D50C7 #C73D95
square
#C7B43D #3DC76F #3D50C7 #C73D95
split-complementary
#C7B43D #3D95C7 #6F3DC7
monochromatic
#6B601F #9A8B2D #C7B43D #D5C66C #E2D99C

Accessibility & contrast

On white

2.09
#C7B43D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C7B43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B43D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B43D#FFFFFF#000000##000000
##C7B43D1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2C
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#D6A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b43d;
/* rgb */ color: rgb(199, 180, 61);
/* oklch */ color: oklch(76.5% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#dcca79',
    500: '#c7b43d',
    950: '#000000',
  },
}
SCSS
$custom: #c7b43d;
$custom-light: #dcca79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b43d",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 51.739,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76478,
    "c": 0.13685,
    "h": 100
  },
  "luminance": 0.45122
}

Semantic roles & 50–950 ramp

primary
#C7B43D
secondary
#919ACE
accent
#5EDF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B43D

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

Preview Lab → · Contrast checker → · Palette generator →

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