#C7C679#C7C679

#C7C679 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.099 H 107.8°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C7C679
RGBrgb(199, 198, 121)
HSLhsl(59, 41%, 63%)
HSVhsv(59, 39%, 78%)
CMYKcmyk(0%, 0.5%, 39.2%, 22%)
CIE-LABlab(78.41, -11.00, 38.69)
CIE-LCHlch(78.41, 40.22, 105.87°)
OKLaboklab(81% -0.0302 0.0942)
OKLCHoklch(81% 0.099 107.8)
XYZxyz(47.1991, 53.9117, 26.0051)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C679 #797AC7
analogous
#C79F79 #C7C679 #A1C779
triadic
#C7C679 #79C7C6 #C679C7
tetradic
#C7C679 #79C79F #797AC7 #C779A1
square
#C7C679 #79C79F #797AC7 #C779A1
split-complementary
#C7C679 #79A1C7 #9F79C7
monochromatic
#8B8A3A #B5B44E #C7C679 #D9D8A4 #EBEBCF

Accessibility & contrast

On white

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

On black

11.78
#C7C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C679
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C679#FFFFFF#000000##000000
##C7C6791.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C073
Deuteranopia (green-blind)
#D3C37C
Tritanopia (blue-blind)
#D1BDB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c679;
/* rgb */ color: rgb(199, 198, 121);
/* oklch */ color: oklch(81.0% 0.099 107.8);
Tailwind
colors: {
  custom: {
    50: '#d9d7a1',
    500: '#c7c679',
    950: '#000000',
  },
}
SCSS
$custom: #c7c679;
$custom-light: #d9d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c679",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 59.231,
    "s": 41.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81003,
    "c": 0.09896,
    "h": 107.8
  },
  "luminance": 0.53911
}

Semantic roles & 50–950 ramp

primary
#C7C679
secondary
#515293
accent
#33B431
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C7C679

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

Preview Lab → · Contrast checker → · Palette generator →

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