#C7C546#C7C546

#C7C546 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.146 H 108.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#C7C546
RGBrgb(199, 197, 70)
HSLhsl(59, 54%, 53%)
HSVhsv(59, 65%, 78%)
CMYKcmyk(0%, 1%, 64.8%, 22%)
CIE-LABlab(77.59, -14.79, 61.44)
CIE-LCHlch(77.59, 63.19, 103.53°)
OKLaboklab(80.17% -0.0461 0.1386)
OKLCHoklch(80.17% 0.146 108.4)
XYZxyz(44.6264, 52.5182, 13.5794)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C546 #4648C7
analogous
#C78546 #C7C546 #88C746
triadic
#C7C546 #46C7C5 #C546C7
tetradic
#C7C546 #46C785 #4648C7 #C74688
square
#C7C546 #46C785 #4648C7 #C74688
split-complementary
#C7C546 #4688C7 #8546C7
monochromatic
#716F22 #A09E30 #C7C546 #D5D475 #E3E2A4

Accessibility & contrast

On white

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

On black

11.50
#C7C546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C546
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C546#FFFFFF#000000##000000
##C7C5461.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD35
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#D5B9AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c546;
/* rgb */ color: rgb(199, 197, 70);
/* oklch */ color: oklch(80.2% 0.146 108.4);
Tailwind
colors: {
  custom: {
    50: '#dbd680',
    500: '#c7c546',
    950: '#000000',
  },
}
SCSS
$custom: #c7c546;
$custom-light: #dbd680;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c546",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 59.07,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80171,
    "c": 0.14608,
    "h": 108.4
  },
  "luminance": 0.52517
}

Semantic roles & 50–950 ramp

primary
#C7C546
secondary
#37387A
accent
#4DDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C546

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

Preview Lab → · Contrast checker → · Palette generator →

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