#CDCC8E#CDCC8E

#CDCC8E is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.081 H 107.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CDCC8E
RGBrgb(205, 204, 142)
HSLhsl(59, 39%, 68%)
HSVhsv(59, 31%, 80%)
CMYKcmyk(0%, 0.5%, 30.7%, 19.6%)
CIE-LABlab(80.80, -9.24, 31.11)
CIE-LCHlch(80.80, 32.45, 106.54°)
OKLaboklab(83.13% -0.0241 0.0775)
OKLCHoklch(83.13% 0.081 107.3)
XYZxyz(51.6525, 58.1187, 34.0830)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC8E #8E8FCD
analogous
#CDAC8E #CDCC8E #AECD8E
triadic
#CDCC8E #8ECDCC #CC8ECD
tetradic
#CDCC8E #8ECDAC #8E8FCD #CD8EAE
square
#CDCC8E #8ECDAC #8E8FCD #CD8EAE
split-complementary
#CDCC8E #8EAECD #AC8ECD
monochromatic
#9C9A45 #BAB964 #CDCC8E #E0DFB8 #F3F2E3

Accessibility & contrast

On white

1.66
#CDCC8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CDCC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC8E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC8E#FFFFFF#000000##000000
##CDCC8E1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C78A
Deuteranopia (green-blind)
#D7CA90
Tritanopia (blue-blind)
#D6C4BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc8e;
/* rgb */ color: rgb(205, 204, 142);
/* oklch */ color: oklch(83.1% 0.081 107.3);
Tailwind
colors: {
  custom: {
    50: '#dddbaf',
    500: '#cdcc8e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc8e;
$custom-light: #dddbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc8e",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 142
  },
  "hsl": {
    "h": 59.048,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83127,
    "c": 0.08112,
    "h": 107.3
  },
  "luminance": 0.58118
}

Semantic roles & 50–950 ramp

primary
#CDCC8E
secondary
#5D5EA2
accent
#36B234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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