#C5CC7D#C5CC7D

#C5CC7D is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.102 H 112.8°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C5CC7D
RGBrgb(197, 204, 125)
HSLhsl(65, 44%, 65%)
HSVhsv(65, 39%, 80%)
CMYKcmyk(3.4%, 0%, 38.7%, 20%)
CIE-LABlab(79.92, -14.39, 38.55)
CIE-LCHlch(79.92, 41.15, 110.46°)
OKLaboklab(82.18% -0.0395 0.0941)
OKLCHoklch(82.18% 0.102 112.8)
XYZxyz(48.3209, 56.5374, 27.7653)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC7D #847DCC
analogous
#CCAB7D #C5CC7D #9ECC7D
triadic
#C5CC7D #7DC5CC #CC7DC5
tetradic
#C5CC7D #7DCCAB #847DCC #CC7D9E
square
#C5CC7D #7DCCAB #847DCC #CC7D9E
split-complementary
#C5CC7D #7D9ECC #AB7DCC
monochromatic
#8C943A #B1BB51 #C5CC7D #D9DDA9 #ECEED5

Accessibility & contrast

On white

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

On black

12.31
#C5CC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC7D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC7D#FFFFFF#000000##000000
##C5CC7D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#D7C781
Tritanopia (blue-blind)
#CEC3B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cc7d;
/* rgb */ color: rgb(197, 204, 125);
/* oklch */ color: oklch(82.2% 0.102 112.8);
Tailwind
colors: {
  custom: {
    50: '#d8dba4',
    500: '#c5cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc7d;
$custom-light: #d8dba4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc7d",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 65.316,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82184,
    "c": 0.1021,
    "h": 112.8
  },
  "luminance": 0.56537
}

Semantic roles & 50–950 ramp

primary
#C5CC7D
secondary
#59529B
accent
#2FB73B
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14150F
muted
#838480

Preview Lab

Preview with #C5CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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