#C7D178#C7D178

#C7D178 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.3% C 0.114 H 114.1°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C7D178
RGBrgb(199, 209, 120)
HSLhsl(67, 49%, 65%)
HSVhsv(67, 43%, 82%)
CMYKcmyk(4.8%, 0%, 42.6%, 18%)
CIE-LABlab(81.35, -16.66, 42.89)
CIE-LCHlch(81.35, 46.01, 111.23°)
OKLaboklab(83.34% -0.0465 0.1037)
OKLCHoklch(83.34% 0.114 114.1)
XYZxyz(49.7443, 59.0998, 26.5525)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D178 #8278D1
analogous
#D1AF78 #C7D178 #9AD178
triadic
#C7D178 #78C7D1 #D178C7
tetradic
#C7D178 #78D1AF #8278D1 #D1789A
square
#C7D178 #78D1AF #8278D1 #D1789A
split-complementary
#C7D178 #789AD1 #AF78D1
monochromatic
#8F9A35 #B4C14A #C7D178 #DAE1A6 #EDF0D3

Accessibility & contrast

On white

1.64
#C7D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C7D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D178
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D178#FFFFFF#000000##000000
##C7D1781.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC971
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#D1C8BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d178;
/* rgb */ color: rgb(199, 209, 120);
/* oklch */ color: oklch(83.3% 0.114 114.1);
Tailwind
colors: {
  custom: {
    50: '#d9dfa0',
    500: '#c7d178',
    950: '#000000',
  },
}
SCSS
$custom: #c7d178;
$custom-light: #d9dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d178",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 66.742,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83337,
    "c": 0.1136,
    "h": 114.1
  },
  "luminance": 0.59099
}

Semantic roles & 50–950 ramp

primary
#C7D178
secondary
#574E9F
accent
#29BC3A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C7D178

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

Preview Lab → · Contrast checker → · Palette generator →

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