#C6C87F#C6C87F

#C6C87F is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.095 H 109.7°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C6C87F
RGBrgb(198, 200, 127)
HSLhsl(62, 40%, 64%)
HSVhsv(62, 37%, 78%)
CMYKcmyk(1%, 0%, 36.5%, 21.6%)
CIE-LABlab(78.95, -11.73, 36.31)
CIE-LCHlch(78.95, 38.16, 107.91°)
OKLaboklab(81.44% -0.0319 0.0891)
OKLCHoklch(81.44% 0.095 109.7)
XYZxyz(47.7742, 54.8475, 28.1445)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C87F #817FC8
analogous
#C8A67F #C6C87F #A2C87F
triadic
#C6C87F #7FC6C8 #C87FC6
tetradic
#C6C87F #7FC8A6 #817FC8 #C87FA2
square
#C6C87F #7FC8A6 #817FC8 #C87FA2
split-complementary
#C6C87F #7FA2C8 #A67FC8
monochromatic
#8D8F3D #B3B654 #C6C87F #D9DAAA #ECEDD5

Accessibility & contrast

On white

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

On black

11.97
#C6C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C87F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C87F#FFFFFF#000000##000000
##C6C87F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c87f;
/* rgb */ color: rgb(198, 200, 127);
/* oklch */ color: oklch(81.4% 0.095 109.7);
Tailwind
colors: {
  custom: {
    50: '#d8d8a5',
    500: '#c6c87f',
    950: '#000000',
  },
}
SCSS
$custom: #c6c87f;
$custom-light: #d8d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c87f",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 61.644,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81444,
    "c": 0.09462,
    "h": 109.7
  },
  "luminance": 0.54847
}

Semantic roles & 50–950 ramp

primary
#C6C87F
secondary
#575596
accent
#33B336
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C6C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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