#CDC581#CDC581

#CDC581 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.088 H 102.4°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC581
RGBrgb(205, 197, 129)
HSLhsl(54, 43%, 65%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.9%, 37.1%, 19.6%)
CIE-LABlab(78.75, -7.20, 35.13)
CIE-LCHlch(78.75, 35.86, 101.58°)
OKLaboklab(81.43% -0.019 0.0864)
OKLCHoklch(81.43% 0.088 102.4)
XYZxyz(49.1063, 54.4979, 28.6970)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC581 #8189CD
analogous
#CD9F81 #CDC581 #AFCD81
triadic
#CDC581 #81CDC5 #C581CD
tetradic
#CDC581 #81CD9F #8189CD #CD81AF
square
#CDC581 #81CD9F #8189CD #CD81AF
split-complementary
#CDC581 #81AFCD #9F81CD
monochromatic
#978E3C #BCB155 #CDC581 #DED9AD #F0EDD9

Accessibility & contrast

On white

1.76
#CDC581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC581
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC581#FFFFFF#000000##000000
##CDC5811.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C17C
Deuteranopia (green-blind)
#D3C584
Tritanopia (blue-blind)
#D8BCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc581;
/* rgb */ color: rgb(205, 197, 129);
/* oklch */ color: oklch(81.4% 0.088 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd6a6',
    500: '#cdc581',
    950: '#000000',
  },
}
SCSS
$custom: #cdc581;
$custom-light: #ddd6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc581",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 129
  },
  "hsl": {
    "h": 53.684,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81431,
    "c": 0.08848,
    "h": 102.4
  },
  "luminance": 0.54497
}

Semantic roles & 50–950 ramp

primary
#CDC581
secondary
#545C9E
accent
#3DB62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC581

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

Preview Lab → · Contrast checker → · Palette generator →

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