#C6C879#C6C879

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

Color values

HEX#C6C879
RGBrgb(198, 200, 121)
HSLhsl(62, 42%, 63%)
HSVhsv(62, 40%, 78%)
CMYKcmyk(1%, 0%, 39.5%, 21.6%)
CIE-LABlab(78.87, -12.41, 39.25)
CIE-LCHlch(78.87, 41.17, 107.55°)
OKLaboklab(81.35% -0.0342 0.0955)
OKLCHoklch(81.35% 0.101 109.7)
XYZxyz(47.3948, 54.6957, 26.1461)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C879 #7B79C8
analogous
#C8A279 #C6C879 #9EC879
triadic
#C6C879 #79C6C8 #C879C6
tetradic
#C6C879 #79C8A2 #7B79C8 #C8799E
square
#C6C879 #79C8A2 #7B79C8 #C8799E
split-complementary
#C6C879 #799EC8 #A279C8
monochromatic
#8B8D3A #B4B64E #C6C879 #D8DAA4 #EBECD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C879#FFFFFF#000000##000000
##C6C8791.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)
#D3C273
Deuteranopia (green-blind)
#D4C57D
Tritanopia (blue-blind)
#D0BFB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6c879;
/* rgb */ color: rgb(198, 200, 121);
/* oklch */ color: oklch(81.3% 0.101 109.7);
Tailwind
colors: {
  custom: {
    50: '#d8d8a1',
    500: '#c6c879',
    950: '#000000',
  },
}
SCSS
$custom: #c6c879;
$custom-light: #d8d8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c879",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 121
  },
  "hsl": {
    "h": 61.519,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81346,
    "c": 0.10146,
    "h": 109.7
  },
  "luminance": 0.54695
}

Semantic roles & 50–950 ramp

primary
#C6C879
secondary
#535194
accent
#31B534
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C6C879

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

Preview Lab → · Contrast checker → · Palette generator →

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