#C7B32B#C7B32B

#C7B32B is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.1% C 0.147 H 100.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C7B32B
RGBrgb(199, 179, 43)
HSLhsl(52, 64%, 47%)
HSVhsv(52, 78%, 78%)
CMYKcmyk(0%, 10.1%, 78.4%, 22%)
CIE-LABlab(72.60, -6.86, 66.38)
CIE-LCHlch(72.60, 66.73, 95.90°)
OKLaboklab(76.15% -0.0264 0.1443)
OKLCHoklch(76.15% 0.147 100.4)
XYZxyz(40.1113, 44.5587, 8.7729)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B32B #2B3FC7
analogous
#C7652B #C7B32B #8DC72B
triadic
#C7B32B #2BC7B3 #B32BC7
tetradic
#C7B32B #2BC765 #2B3FC7 #C72B8D
square
#C7B32B #2BC765 #2B3FC7 #C72B8D
split-complementary
#C7B32B #2B8DC7 #652BC7
monochromatic
#625815 #958620 #C7B32B #DAC955 #E5D987

Accessibility & contrast

On white

2.12
#C7B32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C7B32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B32B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B32B#FFFFFF#000000##000000
##C7B32B1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE05
Deuteranopia (green-blind)
#CAB535
Tritanopia (blue-blind)
#D7A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b32b;
/* rgb */ color: rgb(199, 179, 43);
/* oklch */ color: oklch(76.1% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcc970',
    500: '#c7b32b',
    950: '#000000',
  },
}
SCSS
$custom: #c7b32b;
$custom-light: #dcc970;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b32b",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 52.308,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76148,
    "c": 0.14665,
    "h": 100.4
  },
  "luminance": 0.44557
}

Semantic roles & 50–950 ramp

primary
#C7B32B
secondary
#7F89CF
accent
#56E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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