#C5CC8A#C5CC8A

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

Color values

HEX#C5CC8A
RGBrgb(197, 204, 138)
HSLhsl(66, 39%, 67%)
HSVhsv(66, 32%, 80%)
CMYKcmyk(3.4%, 0%, 32.4%, 20%)
CIE-LABlab(80.12, -12.82, 32.16)
CIE-LCHlch(80.12, 34.62, 111.74°)
OKLaboklab(82.41% -0.0343 0.0799)
OKLCHoklch(82.41% 0.087 113.2)
XYZxyz(49.2064, 56.8916, 32.4288)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC8A #918ACC
analogous
#CCB28A #C5CC8A #A4CC8A
triadic
#C5CC8A #8AC5CC #CC8AC5
tetradic
#C5CC8A #8ACCB2 #918ACC #CC8AA4
square
#C5CC8A #8ACCB2 #918ACC #CC8AA4
split-complementary
#C5CC8A #8AA4CC #B28ACC
monochromatic
#909943 #B0B95F #C5CC8A #DADFB5 #EFF1DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC8A#FFFFFF#000000##000000
##C5CC8A1.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)
#D5C685
Deuteranopia (green-blind)
#D5C88D
Tritanopia (blue-blind)
#CDC5BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cc8a;
/* rgb */ color: rgb(197, 204, 138);
/* oklch */ color: oklch(82.4% 0.087 113.2);
Tailwind
colors: {
  custom: {
    50: '#d7dbac',
    500: '#c5cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc8a;
$custom-light: #d7dbac;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc8a",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 66.364,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82408,
    "c": 0.08691,
    "h": 113.2
  },
  "luminance": 0.56891
}

Semantic roles & 50–950 ramp

primary
#C5CC8A
secondary
#625BA0
accent
#33B241
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141510
muted
#838481

Preview Lab

Preview with #C5CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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