#C7C87F#C7C87F

#C7C87F is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.095 H 109.0°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C7C87F
RGBrgb(199, 200, 127)
HSLhsl(61, 40%, 64%)
HSVhsv(61, 37%, 78%)
CMYKcmyk(0.5%, 0%, 36.5%, 21.6%)
CIE-LABlab(79.03, -11.34, 36.43)
CIE-LCHlch(79.03, 38.15, 107.29°)
OKLaboklab(81.53% -0.0308 0.0894)
OKLCHoklch(81.53% 0.095 109)
XYZxyz(48.0387, 54.9838, 28.1569)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C87F #807FC8
analogous
#C8A57F #C7C87F #A3C87F
triadic
#C7C87F #7FC7C8 #C87FC7
tetradic
#C7C87F #7FC8A5 #807FC8 #C87FA3
square
#C7C87F #7FC8A5 #807FC8 #C87FA3
split-complementary
#C7C87F #7FA3C8 #A57FC8
monochromatic
#8E8F3D #B4B654 #C7C87F #DADAAA #ECEDD5

Accessibility & contrast

On white

1.75
#C7C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#C7C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C87F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C87F#FFFFFF#000000##000000
##C7C87F1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D4C582
Tritanopia (blue-blind)
#D1C0B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7c87f;
/* rgb */ color: rgb(199, 200, 127);
/* oklch */ color: oklch(81.5% 0.095 109.0);
Tailwind
colors: {
  custom: {
    50: '#d9d8a5',
    500: '#c7c87f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c87f;
$custom-light: #d9d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c87f",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 60.822,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81526,
    "c": 0.09451,
    "h": 109
  },
  "luminance": 0.54983
}

Semantic roles & 50–950 ramp

primary
#C7C87F
secondary
#565596
accent
#33B334
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C7C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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