#C7C786#C7C786

#C7C786 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.085 H 108.1°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C7C786
RGBrgb(199, 199, 134)
HSLhsl(60, 37%, 65%)
HSVhsv(60, 33%, 78%)
CMYKcmyk(0%, 0%, 32.7%, 22%)
CIE-LABlab(78.87, -10.00, 32.62)
CIE-LCHlch(78.87, 34.12, 107.04°)
OKLaboklab(81.44% -0.0265 0.0808)
OKLCHoklch(81.44% 0.085 108.1)
XYZxyz(48.2801, 54.7110, 30.5666)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C786 #8686C7
analogous
#C7A686 #C7C786 #A6C786
triadic
#C7C786 #86C7C7 #C786C7
tetradic
#C7C786 #86C7A6 #8686C7 #C786A6
square
#C7C786 #86C7A6 #8686C7 #C786A6
split-complementary
#C7C786 #86A6C7 #A686C7
monochromatic
#909043 #B4B45C #C7C786 #DADAB0 #EEEEDA

Accessibility & contrast

On white

1.76
#C7C786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C7C786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C786
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C786#FFFFFF#000000##000000
##C7C7861.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C281
Deuteranopia (green-blind)
#D2C589
Tritanopia (blue-blind)
#D0BFB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c786;
/* rgb */ color: rgb(199, 199, 134);
/* oklch */ color: oklch(81.4% 0.085 108.1);
Tailwind
colors: {
  custom: {
    50: '#d9d7aa',
    500: '#c7c786',
    950: '#000000',
  },
}
SCSS
$custom: #c7c786;
$custom-light: #d9d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c786",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 36.723,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81437,
    "c": 0.08504,
    "h": 108.1
  },
  "luminance": 0.5471
}

Semantic roles & 50–950 ramp

primary
#C7C786
secondary
#5A5A98
accent
#36B036
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7C786

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

Preview Lab → · Contrast checker → · Palette generator →

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