#C7C32B#C7C32B

#C7C32B is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.6% C 0.160 H 108.0°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C7C32B
RGBrgb(199, 195, 43)
HSLhsl(58, 64%, 47%)
HSVhsv(58, 78%, 78%)
CMYKcmyk(0%, 2%, 78.4%, 22%)
CIE-LABlab(76.89, -15.05, 70.21)
CIE-LCHlch(76.89, 71.80, 102.10°)
OKLaboklab(79.56% -0.0494 0.1525)
OKLCHoklch(79.56% 0.16 108)
XYZxyz(43.5061, 51.3482, 9.9045)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C32B #2B2FC7
analogous
#C7752B #C7C32B #7DC72B
triadic
#C7C32B #2BC7C3 #C32BC7
tetradic
#C7C32B #2BC775 #2B2FC7 #C72B7D
square
#C7C32B #2BC775 #2B2FC7 #C72B7D
split-complementary
#C7C32B #2B7DC7 #752BC7
monochromatic
#626015 #959220 #C7C32B #DAD755 #E5E387

Accessibility & contrast

On white

1.86
#C7C32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C7C32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C32B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C32B#FFFFFF#000000##000000
##C7C32B1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C038
Tritanopia (blue-blind)
#D6B6A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c32b;
/* rgb */ color: rgb(199, 195, 43);
/* oklch */ color: oklch(79.6% 0.160 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcd472',
    500: '#c7c32b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c32b;
$custom-light: #dcd472;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c32b",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 43
  },
  "hsl": {
    "h": 58.462,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79562,
    "c": 0.16027,
    "h": 108
  },
  "luminance": 0.51347
}

Semantic roles & 50–950 ramp

primary
#C7C32B
secondary
#292B6D
accent
#45E740
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C32B

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

Preview Lab → · Contrast checker → · Palette generator →

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