#C2CD79#C2CD79

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

Color values

HEX#C2CD79
RGBrgb(194, 205, 121)
HSLhsl(68, 46%, 64%)
HSVhsv(68, 41%, 80%)
CMYKcmyk(5.4%, 0%, 41%, 19.6%)
CIE-LABlab(79.90, -16.51, 40.50)
CIE-LCHlch(79.90, 43.74, 112.18°)
OKLaboklab(82.1% -0.0457 0.0984)
OKLCHoklch(82.1% 0.109 114.9)
XYZxyz(47.5310, 56.5130, 26.4896)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD79 #8479CD
analogous
#CDAE79 #C2CD79 #98CD79
triadic
#C2CD79 #79C2CD #CD79C2
tetradic
#C2CD79 #79CDAE #8479CD #CD7998
square
#C2CD79 #79CDAE #8479CD #CD7998
split-complementary
#C2CD79 #7998CD #AE79CD
monochromatic
#889437 #AEBC4C #C2CD79 #D6DEA6 #EBEED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CD79#FFFFFF#000000##000000
##C2CD791.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)
#D8C572
Deuteranopia (green-blind)
#D7C77D
Tritanopia (blue-blind)
#CBC4B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cd79;
/* rgb */ color: rgb(194, 205, 121);
/* oklch */ color: oklch(82.1% 0.108 114.9);
Tailwind
colors: {
  custom: {
    50: '#d6dca1',
    500: '#c2cd79',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd79;
$custom-light: #d6dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd79",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 67.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82098,
    "c": 0.1085,
    "h": 114.9
  },
  "luminance": 0.56512
}

Semantic roles & 50–950 ramp

primary
#C2CD79
secondary
#59509B
accent
#2DB93F
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14150F
muted
#838480

Preview Lab

Preview with #C2CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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