#C7B343#C7B343

#C7B343 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.132 H 99.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C7B343
RGBrgb(199, 179, 67)
HSLhsl(51, 54%, 52%)
HSVhsv(51, 66%, 78%)
CMYKcmyk(0%, 10.1%, 66.3%, 22%)
CIE-LABlab(72.75, -5.72, 57.64)
CIE-LCHlch(72.75, 57.92, 95.67°)
OKLaboklab(76.32% -0.0208 0.1301)
OKLCHoklch(76.32% 0.132 99.1)
XYZxyz(40.6882, 44.7894, 11.8111)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B343 #4357C7
analogous
#C77143 #C7B343 #99C743
triadic
#C7B343 #43C7B3 #B343C7
tetradic
#C7B343 #43C771 #4357C7 #C74399
square
#C7B343 #43C771 #4357C7 #C74399
split-complementary
#C7B343 #4399C7 #7143C7
monochromatic
#6F6321 #9E8D2F #C7B343 #D5C672 #E3D9A1

Accessibility & contrast

On white

2.11
#C7B343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C7B343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B343
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B343#FFFFFF#000000##000000
##C7B3431.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE35
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#D6A69C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b343;
/* rgb */ color: rgb(199, 179, 67);
/* oklch */ color: oklch(76.3% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#dbc97d',
    500: '#c7b343',
    950: '#000000',
  },
}
SCSS
$custom: #c7b343;
$custom-light: #dbc97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b343",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 50.909,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76318,
    "c": 0.13175,
    "h": 99.1
  },
  "luminance": 0.44788
}

Semantic roles & 50–950 ramp

primary
#C7B343
secondary
#969FD0
accent
#61DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B343

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

Preview Lab → · Contrast checker → · Palette generator →

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