#C7C432#C7C432

#C7C432 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.158 H 108.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#C7C432
RGBrgb(199, 196, 50)
HSLhsl(59, 60%, 49%)
HSVhsv(59, 75%, 78%)
CMYKcmyk(0%, 1.5%, 74.9%, 22%)
CIE-LABlab(77.19, -15.29, 68.34)
CIE-LCHlch(77.19, 70.03, 102.61°)
OKLaboklab(79.82% -0.0495 0.1498)
OKLCHoklch(79.82% 0.158 108.3)
XYZxyz(43.8705, 51.8537, 10.7148)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C432 #3235C7
analogous
#C77A32 #C7C432 #80C732
triadic
#C7C432 #32C7C4 #C432C7
tetradic
#C7C432 #32C77A #3235C7 #C73280
square
#C7C432 #32C77A #3235C7 #C73280
split-complementary
#C7C432 #3280C7 #7A32C7
monochromatic
#656419 #969426 #C7C432 #D7D45F #E3E190

Accessibility & contrast

On white

1.85
#C7C432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#C7C432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C432
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C432#FFFFFF#000000##000000
##C7C4321.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0F
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#D6B7A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c432;
/* rgb */ color: rgb(199, 196, 50);
/* oklch */ color: oklch(79.8% 0.158 108.3);
Tailwind
colors: {
  custom: {
    50: '#dcd575',
    500: '#c7c432',
    950: '#000000',
  },
}
SCSS
$custom: #c7c432;
$custom-light: #dcd575;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c432",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 50
  },
  "hsl": {
    "h": 58.792,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.15773,
    "h": 108.3
  },
  "luminance": 0.51852
}

Semantic roles & 50–950 ramp

primary
#C7C432
secondary
#2E2F70
accent
#48E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C432

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

Preview Lab → · Contrast checker → · Palette generator →

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