#C7C76A#C7C76A

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

Color values

HEX#C7C76A
RGBrgb(199, 199, 106)
HSLhsl(60, 45%, 60%)
HSVhsv(60, 47%, 78%)
CMYKcmyk(0%, 0%, 46.7%, 22%)
CIE-LABlab(78.48, -13.04, 46.24)
CIE-LCHlch(78.48, 48.04, 105.74°)
OKLaboklab(80.99% -0.0374 0.1102)
OKLCHoklch(80.99% 0.116 108.7)
XYZxyz(46.5791, 54.0306, 21.6081)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C76A #6A6AC7
analogous
#C7996A #C7C76A #99C76A
triadic
#C7C76A #6AC7C7 #C76AC7
tetradic
#C7C76A #6AC799 #6A6AC7 #C76A99
square
#C7C76A #6AC799 #6A6AC7 #C76A99
split-complementary
#C7C76A #6A99C7 #996AC7
monochromatic
#858532 #B1B143 #C7C76A #D8D896 #E8E8C3

Accessibility & contrast

On white

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

On black

11.81
#C7C76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C76A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C76A#FFFFFF#000000##000000
##C7C76A1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C062
Deuteranopia (green-blind)
#D5C46E
Tritanopia (blue-blind)
#D2BDB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c76a;
/* rgb */ color: rgb(199, 199, 106);
/* oklch */ color: oklch(81.0% 0.116 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad797',
    500: '#c7c76a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c76a;
$custom-light: #dad797;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c76a",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 60,
    "s": 45.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80994,
    "c": 0.11633,
    "h": 108.7
  },
  "luminance": 0.5403
}

Semantic roles & 50–950 ramp

primary
#C7C76A
secondary
#49498C
accent
#53D553
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #C7C76A

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

Preview Lab → · Contrast checker → · Palette generator →

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