#C8CC7E#C8CC7E

#C8CC7E is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.100 H 110.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#C8CC7E
RGBrgb(200, 204, 126)
HSLhsl(63, 43%, 65%)
HSVhsv(63, 38%, 80%)
CMYKcmyk(2%, 0%, 38.2%, 20%)
CIE-LABlab(80.16, -13.10, 38.40)
CIE-LCHlch(80.16, 40.58, 108.83°)
OKLaboklab(82.44% -0.0359 0.0938)
OKLCHoklch(82.44% 0.1 110.9)
XYZxyz(49.1787, 56.9723, 28.1407)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC7E #827ECC
analogous
#CCA97E #C8CC7E #A1CC7E
triadic
#C8CC7E #7EC8CC #CC7EC8
tetradic
#C8CC7E #7ECCA9 #827ECC #CC7EA1
square
#C8CC7E #7ECCA9 #827ECC #CC7EA1
split-complementary
#C8CC7E #7EA1CC #A97ECC
monochromatic
#90953B #B5BB52 #C8CC7E #DBDDAA #EDEFD6

Accessibility & contrast

On white

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

On black

12.39
#C8CC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC7E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC7E#FFFFFF#000000##000000
##C8CC7E1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C678
Deuteranopia (green-blind)
#D8C881
Tritanopia (blue-blind)
#D2C3B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cc7e;
/* rgb */ color: rgb(200, 204, 126);
/* oklch */ color: oklch(82.4% 0.100 110.9);
Tailwind
colors: {
  custom: {
    50: '#dadba4',
    500: '#c8cc7e',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc7e;
$custom-light: #dadba4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc7e",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 63.077,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82441,
    "c": 0.10046,
    "h": 110.9
  },
  "luminance": 0.56971
}

Semantic roles & 50–950 ramp

primary
#C8CC7E
secondary
#57539B
accent
#2FB636
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8CC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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