#C5CD79#C5CD79

#C5CD79 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.108 H 113.2°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#C5CD79
RGBrgb(197, 205, 121)
HSLhsl(66, 46%, 64%)
HSVhsv(66, 41%, 80%)
CMYKcmyk(3.9%, 0%, 41%, 19.6%)
CIE-LABlab(80.13, -15.33, 40.83)
CIE-LCHlch(80.13, 43.62, 110.58°)
OKLaboklab(82.34% -0.0425 0.0991)
OKLCHoklch(82.34% 0.108 113.2)
XYZxyz(48.3090, 56.9141, 26.5261)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD79 #8179CD
analogous
#CDAB79 #C5CD79 #9BCD79
triadic
#C5CD79 #79C5CD #CD79C5
tetradic
#C5CD79 #79CDAB #8179CD #CD799B
square
#C5CD79 #79CDAB #8179CD #CD799B
split-complementary
#C5CD79 #799BCD #AB79CD
monochromatic
#8B9437 #B2BC4C #C5CD79 #D8DEA6 #ECEED2

Accessibility & contrast

On white

1.70
#C5CD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#C5CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD79
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD79#FFFFFF#000000##000000
##C5CD791.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C672
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#CEC4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cd79;
/* rgb */ color: rgb(197, 205, 121);
/* oklch */ color: oklch(82.3% 0.108 113.2);
Tailwind
colors: {
  custom: {
    50: '#d8dca1',
    500: '#c5cd79',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd79;
$custom-light: #d8dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd79",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 65.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82335,
    "c": 0.10786,
    "h": 113.2
  },
  "luminance": 0.56913
}

Semantic roles & 50–950 ramp

primary
#C5CD79
secondary
#57509B
accent
#2DB93A
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C5CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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