#CDCC81#CDCC81

#CDCC81 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.096 H 107.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CDCC81
RGBrgb(205, 204, 129)
HSLhsl(59, 43%, 65%)
HSVhsv(59, 37%, 80%)
CMYKcmyk(0%, 0.5%, 37.1%, 19.6%)
CIE-LABlab(80.60, -10.79, 37.52)
CIE-LCHlch(80.60, 39.04, 106.04°)
OKLaboklab(82.9% -0.0293 0.0919)
OKLCHoklch(82.9% 0.096 107.7)
XYZxyz(50.7328, 57.7509, 29.2391)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC81 #8182CD
analogous
#CDA681 #CDCC81 #A8CD81
triadic
#CDCC81 #81CDCC #CC81CD
tetradic
#CDCC81 #81CDA6 #8182CD #CD81A8
square
#CDCC81 #81CDA6 #8182CD #CD81A8
split-complementary
#CDCC81 #81A8CD #A681CD
monochromatic
#97963C #BCBA55 #CDCC81 #DEDEAD #F0EFD9

Accessibility & contrast

On white

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

On black

12.55
#CDCC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC81
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC81#FFFFFF#000000##000000
##CDCC811.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C67B
Deuteranopia (green-blind)
#D9CA84
Tritanopia (blue-blind)
#D7C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc81;
/* rgb */ color: rgb(205, 204, 129);
/* oklch */ color: oklch(82.9% 0.096 107.7);
Tailwind
colors: {
  custom: {
    50: '#dddba6',
    500: '#cdcc81',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc81;
$custom-light: #dddba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc81",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 129
  },
  "hsl": {
    "h": 59.211,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82898,
    "c": 0.09646,
    "h": 107.7
  },
  "luminance": 0.5775
}

Semantic roles & 50–950 ramp

primary
#CDCC81
secondary
#54559E
accent
#31B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC81

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

Preview Lab → · Contrast checker → · Palette generator →

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