#CDCC8F#CDCC8F

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

Color values

HEX#CDCC8F
RGBrgb(205, 204, 143)
HSLhsl(59, 38%, 68%)
HSVhsv(59, 30%, 80%)
CMYKcmyk(0%, 0.5%, 30.2%, 19.6%)
CIE-LABlab(80.82, -9.11, 30.61)
CIE-LCHlch(80.82, 31.94, 106.57°)
OKLaboklab(83.15% -0.0237 0.0763)
OKLCHoklch(83.15% 0.08 107.2)
XYZxyz(51.7279, 58.1489, 34.4802)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC8F #8F90CD
analogous
#CDAD8F #CDCC8F #AFCD8F
triadic
#CDCC8F #8FCDCC #CC8FCD
tetradic
#CDCC8F #8FCDAD #8F90CD #CD8FAF
square
#CDCC8F #8FCDAD #8F90CD #CD8FAF
split-complementary
#CDCC8F #8FAFCD #AD8FCD
monochromatic
#9C9B46 #BAB965 #CDCC8F #E0DFB9 #F3F3E4

Accessibility & contrast

On white

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

On black

12.63
#CDCC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC8F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC8F#FFFFFF#000000##000000
##CDCC8F1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcc8f;
/* rgb */ color: rgb(205, 204, 143);
/* oklch */ color: oklch(83.1% 0.080 107.2);
Tailwind
colors: {
  custom: {
    50: '#dddbb0',
    500: '#cdcc8f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc8f;
$custom-light: #dddbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc8f",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 143
  },
  "hsl": {
    "h": 59.032,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83146,
    "c": 0.07991,
    "h": 107.2
  },
  "luminance": 0.58148
}

Semantic roles & 50–950 ramp

primary
#CDCC8F
secondary
#5E5FA2
accent
#36B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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