#C7C756#C7C756

#C7C756 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.135 H 109.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C7C756
RGBrgb(199, 199, 86)
HSLhsl(60, 50%, 56%)
HSVhsv(60, 57%, 78%)
CMYKcmyk(0%, 0%, 56.8%, 22%)
CIE-LABlab(78.26, -14.72, 55.35)
CIE-LCHlch(78.26, 57.27, 104.90°)
OKLaboklab(80.75% -0.0442 0.1279)
OKLCHoklch(80.75% 0.135 109.1)
XYZxyz(45.6576, 53.6620, 16.7550)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C756 #5656C7
analogous
#C78E56 #C7C756 #8EC756
triadic
#C7C756 #56C7C7 #C756C7
tetradic
#C7C756 #56C78E #5656C7 #C7568E
square
#C7C756 #56C78E #5656C7 #C7568E
split-complementary
#C7C756 #568EC7 #8E56C7
monochromatic
#7A7A28 #A8A838 #C7C756 #D6D684 #E5E5B2

Accessibility & contrast

On white

1.79
#C7C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#C7C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C756
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C756#FFFFFF#000000##000000
##C7C7561.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF4A
Deuteranopia (green-blind)
#D7C35C
Tritanopia (blue-blind)
#D4BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c756;
/* rgb */ color: rgb(199, 199, 86);
/* oklch */ color: oklch(80.8% 0.135 109.1);
Tailwind
colors: {
  custom: {
    50: '#dad78a',
    500: '#c7c756',
    950: '#000000',
  },
}
SCSS
$custom: #c7c756;
$custom-light: #dad78a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c756",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80753,
    "c": 0.13535,
    "h": 109.1
  },
  "luminance": 0.53661
}

Semantic roles & 50–950 ramp

primary
#C7C756
secondary
#3F3F83
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C756

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

Preview Lab → · Contrast checker → · Palette generator →

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