#C7C587#C7C587

#C7C587 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.081 H 106.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C7C587
RGBrgb(199, 197, 135)
HSLhsl(58, 36%, 65%)
HSVhsv(58, 32%, 78%)
CMYKcmyk(0%, 1%, 32.2%, 22%)
CIE-LABlab(78.36, -8.85, 31.42)
CIE-LCHlch(78.36, 32.65, 105.72°)
OKLaboklab(81.03% -0.0231 0.078)
OKLCHoklch(81.03% 0.081 106.5)
XYZxyz(47.8930, 53.8248, 30.7833)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C587 #8789C7
analogous
#C7A587 #C7C587 #A9C787
triadic
#C7C587 #87C7C5 #C587C7
tetradic
#C7C587 #87C7A5 #8789C7 #C787A9
square
#C7C587 #87C7A5 #8789C7 #C787A9
split-complementary
#C7C587 #87A9C7 #A587C7
monochromatic
#908E43 #B4B15D #C7C587 #DAD9B1 #EEEDDA

Accessibility & contrast

On white

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

On black

11.76
#C7C587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C587
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C587#FFFFFF#000000##000000
##C7C5871.001.7811.7611.76
#FFFFFF1.781.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC083
Deuteranopia (green-blind)
#D1C389
Tritanopia (blue-blind)
#D0BDB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c587;
/* rgb */ color: rgb(199, 197, 135);
/* oklch */ color: oklch(81.0% 0.081 106.5);
Tailwind
colors: {
  custom: {
    50: '#d9d6aa',
    500: '#c7c587',
    950: '#000000',
  },
}
SCSS
$custom: #c7c587;
$custom-light: #d9d6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c587",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 135
  },
  "hsl": {
    "h": 58.125,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81033,
    "c": 0.0814,
    "h": 106.5
  },
  "luminance": 0.53824
}

Semantic roles & 50–950 ramp

primary
#C7C587
secondary
#5A5C98
accent
#3AAF36
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7C587

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

Preview Lab → · Contrast checker → · Palette generator →

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