#C7CC8A#C7CC8A

#C7CC8A is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.087 H 111.8°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#C7CC8A
RGBrgb(199, 204, 138)
HSLhsl(65, 39%, 67%)
HSVhsv(65, 32%, 80%)
CMYKcmyk(2.5%, 0%, 32.4%, 20%)
CIE-LABlab(80.27, -12.05, 32.39)
CIE-LCHlch(80.27, 34.56, 110.41°)
OKLaboklab(82.57% -0.0322 0.0804)
OKLCHoklch(82.57% 0.087 111.8)
XYZxyz(49.7337, 57.1635, 32.4535)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC8A #8F8ACC
analogous
#CCB08A #C7CC8A #A6CC8A
triadic
#C7CC8A #8AC7CC #CC8AC7
tetradic
#C7CC8A #8ACCB0 #8F8ACC #CC8AA6
square
#C7CC8A #8ACCB0 #8F8ACC #CC8AA6
split-complementary
#C7CC8A #8AA6CC #B08ACC
monochromatic
#929943 #B3B95F #C7CC8A #DBDFB5 #F0F1DF

Accessibility & contrast

On white

1.69
#C7CC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#C7CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC8A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC8A#FFFFFF#000000##000000
##C7CC8A1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#D6C88D
Tritanopia (blue-blind)
#CFC4BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cc8a;
/* rgb */ color: rgb(199, 204, 138);
/* oklch */ color: oklch(82.6% 0.087 111.8);
Tailwind
colors: {
  custom: {
    50: '#d9dbad',
    500: '#c7cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc8a;
$custom-light: #d9dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc8a",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 64.545,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82567,
    "c": 0.08658,
    "h": 111.8
  },
  "luminance": 0.57163
}

Semantic roles & 50–950 ramp

primary
#C7CC8A
secondary
#605BA0
accent
#33B23D
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #C7CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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