#CDCD9A#CDCD9A

#CDCD9A is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.068 H 107.8°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CDCD9A
RGBrgb(205, 205, 154)
HSLhsl(60, 34%, 70%)
HSVhsv(60, 25%, 80%)
CMYKcmyk(0%, 0%, 24.9%, 19.6%)
CIE-LABlab(81.28, -8.17, 25.48)
CIE-LCHlch(81.28, 26.76, 107.78°)
OKLaboklab(83.57% -0.0206 0.0643)
OKLCHoklch(83.57% 0.068 107.8)
XYZxyz(52.8409, 58.9756, 39.1654)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD9A #9A9ACD
analogous
#CDB39A #CDCD9A #B3CD9A
triadic
#CDCD9A #9ACDCD #CD9ACD
tetradic
#CDCD9A #9ACDB3 #9A9ACD #CD9AB3
square
#CDCD9A #9ACDB3 #9A9ACD #CD9AB3
split-complementary
#CDCD9A #9AB3CD #B39ACD
monochromatic
#9E9E4E #B9B971 #CDCD9A #E1E1C3 #F5F5EB

Accessibility & contrast

On white

1.64
#CDCD9A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CDCD9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD9A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD9A#FFFFFF#000000##000000
##CDCD9A1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C997
Deuteranopia (green-blind)
#D7CB9C
Tritanopia (blue-blind)
#D4C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd9a;
/* rgb */ color: rgb(205, 205, 154);
/* oklch */ color: oklch(83.6% 0.068 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcdcb8',
    500: '#cdcd9a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd9a;
$custom-light: #dcdcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd9a",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 154
  },
  "hsl": {
    "h": 60,
    "s": 33.775,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83571,
    "c": 0.06756,
    "h": 107.8
  },
  "luminance": 0.58975
}

Semantic roles & 50–950 ramp

primary
#CDCD9A
secondary
#6969A2
accent
#39AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD9A

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

Preview Lab → · Contrast checker → · Palette generator →

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