#C7C76D#C7C76D

#C7C76D is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.113 H 108.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C7C76D
RGBrgb(199, 199, 109)
HSLhsl(60, 45%, 60%)
HSVhsv(60, 45%, 78%)
CMYKcmyk(0%, 0%, 45.2%, 22%)
CIE-LABlab(78.52, -12.75, 44.82)
CIE-LCHlch(78.52, 46.59, 105.88°)
OKLaboklab(81.04% -0.0363 0.1073)
OKLCHoklch(81.04% 0.113 108.7)
XYZxyz(46.7378, 54.0941, 22.4442)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C76D #6D6DC7
analogous
#C79A6D #C7C76D #9AC76D
triadic
#C7C76D #6DC7C7 #C76DC7
tetradic
#C7C76D #6DC79A #6D6DC7 #C76D9A
square
#C7C76D #6DC79A #6D6DC7 #C76D9A
split-complementary
#C7C76D #6D9AC7 #9A6DC7
monochromatic
#868633 #B2B244 #C7C76D #D8D899 #E9E9C5

Accessibility & contrast

On white

1.78
#C7C76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C7C76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C76D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C76D#FFFFFF#000000##000000
##C7C76D1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C065
Deuteranopia (green-blind)
#D5C471
Tritanopia (blue-blind)
#D2BDB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c76d;
/* rgb */ color: rgb(199, 199, 109);
/* oklch */ color: oklch(81.0% 0.113 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad799',
    500: '#c7c76d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c76d;
$custom-light: #dad799;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c76d",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 109
  },
  "hsl": {
    "h": 60,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81035,
    "c": 0.11321,
    "h": 108.7
  },
  "luminance": 0.54093
}

Semantic roles & 50–950 ramp

primary
#C7C76D
secondary
#4A4A8E
accent
#2EB82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C76D

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

Preview Lab → · Contrast checker → · Palette generator →

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