#C7C532#C7C532

#C7C532 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.0% C 0.159 H 108.7°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#C7C532
RGBrgb(199, 197, 50)
HSLhsl(59, 60%, 49%)
HSVhsv(59, 75%, 78%)
CMYKcmyk(0%, 1%, 74.9%, 22%)
CIE-LABlab(77.46, -15.79, 68.59)
CIE-LCHlch(77.46, 70.39, 102.96°)
OKLaboklab(80.03% -0.0509 0.1503)
OKLCHoklch(80.03% 0.159 108.7)
XYZxyz(44.0969, 52.3063, 10.7903)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C532 #3234C7
analogous
#C77B32 #C7C532 #7FC732
triadic
#C7C532 #32C7C5 #C532C7
tetradic
#C7C532 #32C77B #3234C7 #C7327F
square
#C7C532 #32C77B #3234C7 #C7327F
split-complementary
#C7C532 #327FC7 #7B32C7
monochromatic
#656419 #969526 #C7C532 #D7D55F #E3E290

Accessibility & contrast

On white

1.83
#C7C532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#C7C532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C532
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C532#FFFFFF#000000##000000
##C7C5321.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD0E
Deuteranopia (green-blind)
#D7C23E
Tritanopia (blue-blind)
#D5B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c532;
/* rgb */ color: rgb(199, 197, 50);
/* oklch */ color: oklch(80.0% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcd676',
    500: '#c7c532',
    950: '#000000',
  },
}
SCSS
$custom: #c7c532;
$custom-light: #dcd676;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c532",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 50
  },
  "hsl": {
    "h": 59.195,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80031,
    "c": 0.15868,
    "h": 108.7
  },
  "luminance": 0.52305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C532

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

Preview Lab → · Contrast checker → · Palette generator →

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