#C7CD78#C7CD78

#C7CD78 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.109 H 112.0°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#C7CD78
RGBrgb(199, 205, 120)
HSLhsl(64, 46%, 64%)
HSVhsv(64, 41%, 80%)
CMYKcmyk(2.9%, 0%, 41.5%, 19.6%)
CIE-LABlab(80.27, -14.65, 41.54)
CIE-LCHlch(80.27, 44.05, 109.43°)
OKLaboklab(82.48% -0.0407 0.1006)
OKLCHoklch(82.48% 0.109 112)
XYZxyz(48.7753, 57.1616, 26.2295)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD78 #7E78CD
analogous
#CDA878 #C7CD78 #9CCD78
triadic
#C7CD78 #78C7CD #CD78C7
tetradic
#C7CD78 #78CDA8 #7E78CD #CD789C
square
#C7CD78 #78CDA8 #7E78CD #CD789C
split-complementary
#C7CD78 #789CCD #A878CD
monochromatic
#8D9437 #B4BC4B #C7CD78 #DADEA5 #ECEED1

Accessibility & contrast

On white

1.69
#C7CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#C7CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD78
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD78#FFFFFF#000000##000000
##C7CD781.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C671
Deuteranopia (green-blind)
#D9C87C
Tritanopia (blue-blind)
#D1C4B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cd78;
/* rgb */ color: rgb(199, 205, 120);
/* oklch */ color: oklch(82.5% 0.109 112.0);
Tailwind
colors: {
  custom: {
    50: '#d9dca0',
    500: '#c7cd78',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd78;
$custom-light: #d9dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd78",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 64.235,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82479,
    "c": 0.10858,
    "h": 112
  },
  "luminance": 0.57161
}

Semantic roles & 50–950 ramp

primary
#C7CD78
secondary
#544F9A
accent
#2CB936
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C7CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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