#CDCC8A#CDCC8A

#CDCC8A is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.086 H 107.4°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CDCC8A
RGBrgb(205, 204, 138)
HSLhsl(59, 40%, 67%)
HSVhsv(59, 33%, 80%)
CMYKcmyk(0%, 0.5%, 32.7%, 19.6%)
CIE-LABlab(80.74, -9.73, 33.09)
CIE-LCHlch(80.74, 34.49, 106.39°)
OKLaboklab(83.05% -0.0257 0.082)
OKLCHoklch(83.05% 0.086 107.4)
XYZxyz(51.3576, 58.0008, 32.5296)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC8A #8A8BCD
analogous
#CDAA8A #CDCC8A #ADCD8A
triadic
#CDCC8A #8ACDCC #CC8ACD
tetradic
#CDCC8A #8ACDAA #8A8BCD #CD8AAD
square
#CDCC8A #8ACDAA #8A8BCD #CD8AAD
split-complementary
#CDCC8A #8AADCD #AA8ACD
monochromatic
#9B9942 #BBB95F #CDCC8A #DFDFB5 #F2F1E0

Accessibility & contrast

On white

1.67
#CDCC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CDCC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC8A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC8A#FFFFFF#000000##000000
##CDCC8A1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C785
Deuteranopia (green-blind)
#D8CA8D
Tritanopia (blue-blind)
#D6C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc8a;
/* rgb */ color: rgb(205, 204, 138);
/* oklch */ color: oklch(83.1% 0.086 107.4);
Tailwind
colors: {
  custom: {
    50: '#dddbad',
    500: '#cdcc8a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc8a;
$custom-light: #dddbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc8a",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 59.104,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83054,
    "c": 0.08593,
    "h": 107.4
  },
  "luminance": 0.58
}

Semantic roles & 50–950 ramp

primary
#CDCC8A
secondary
#5A5BA1
accent
#34B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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