#CCCD8E#CCCD8E

#CCCD8E is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.082 H 108.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CCCD8E
RGBrgb(204, 205, 142)
HSLhsl(61, 39%, 68%)
HSVhsv(61, 31%, 80%)
CMYKcmyk(0.5%, 0%, 30.7%, 19.6%)
CIE-LABlab(80.99, -10.13, 31.34)
CIE-LCHlch(80.99, 32.94, 107.92°)
OKLaboklab(83.26% -0.0266 0.078)
OKLCHoklch(83.26% 0.082 108.8)
XYZxyz(51.6159, 58.4538, 34.1496)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD8E #8F8ECD
analogous
#CDAE8E #CCCD8E #ACCD8E
triadic
#CCCD8E #8ECCCD #CD8ECC
tetradic
#CCCD8E #8ECDAE #8F8ECD #CD8EAC
square
#CCCD8E #8ECDAE #8F8ECD #CD8EAC
split-complementary
#CCCD8E #8EACCD #AE8ECD
monochromatic
#9A9C45 #B9BA64 #CCCD8E #DFE0B8 #F2F3E3

Accessibility & contrast

On white

1.65
#CCCD8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#CCCD8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD8E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD8E#FFFFFF#000000##000000
##CCCD8E1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88A
Deuteranopia (green-blind)
#D8CA91
Tritanopia (blue-blind)
#D5C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccd8e;
/* rgb */ color: rgb(204, 205, 142);
/* oklch */ color: oklch(83.3% 0.082 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcdcaf',
    500: '#cccd8e',
    950: '#000000',
  },
}
SCSS
$custom: #cccd8e;
$custom-light: #dcdcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd8e",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 142
  },
  "hsl": {
    "h": 60.952,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83255,
    "c": 0.08243,
    "h": 108.8
  },
  "luminance": 0.58453
}

Semantic roles & 50–950 ramp

primary
#CCCD8E
secondary
#5E5DA2
accent
#34B236
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCD8E

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

Preview Lab → · Contrast checker → · Palette generator →

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