#C2CD78#C2CD78

#C2CD78 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.110 H 114.9°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#C2CD78
RGBrgb(194, 205, 120)
HSLhsl(68, 46%, 64%)
HSVhsv(68, 41%, 80%)
CMYKcmyk(5.4%, 0%, 41.5%, 19.6%)
CIE-LABlab(79.89, -16.62, 40.98)
CIE-LCHlch(79.89, 44.23, 112.08°)
OKLaboklab(82.08% -0.0461 0.0994)
OKLCHoklch(82.08% 0.11 114.9)
XYZxyz(47.4700, 56.4886, 26.1683)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD78 #8378CD
analogous
#CDAD78 #C2CD78 #97CD78
triadic
#C2CD78 #78C2CD #CD78C2
tetradic
#C2CD78 #78CDAD #8378CD #CD7897
square
#C2CD78 #78CDAD #8378CD #CD7897
split-complementary
#C2CD78 #7897CD #AD78CD
monochromatic
#889437 #AEBC4B #C2CD78 #D6DEA5 #EAEED1

Accessibility & contrast

On white

1.71
#C2CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#C2CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD78
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD78#FFFFFF#000000##000000
##C2CD781.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C571
Deuteranopia (green-blind)
#D7C77C
Tritanopia (blue-blind)
#CBC4B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cd78;
/* rgb */ color: rgb(194, 205, 120);
/* oklch */ color: oklch(82.1% 0.110 114.9);
Tailwind
colors: {
  custom: {
    50: '#d6dca0',
    500: '#c2cd78',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd78;
$custom-light: #d6dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd78",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 67.765,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82083,
    "c": 0.10961,
    "h": 114.9
  },
  "luminance": 0.56488
}

Semantic roles & 50–950 ramp

primary
#C2CD78
secondary
#594F9A
accent
#2CB93F
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14150F
muted
#838480

Preview Lab

Preview with #C2CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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