#CDCD7D#CDCD7D

#CDCD7D is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.102 H 108.4°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CDCD7D
RGBrgb(205, 205, 125)
HSLhsl(60, 44%, 65%)
HSVhsv(60, 39%, 80%)
CMYKcmyk(0%, 0%, 39%, 19.6%)
CIE-LABlab(80.81, -11.74, 39.81)
CIE-LCHlch(80.81, 41.50, 106.44°)
OKLaboklab(83.04% -0.0323 0.0969)
OKLCHoklch(83.04% 0.102 108.4)
XYZxyz(50.7105, 58.1235, 27.9457)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD7D #7D7DCD
analogous
#CDA57D #CDCD7D #A5CD7D
triadic
#CDCD7D #7DCDCD #CD7DCD
tetradic
#CDCD7D #7DCDA5 #7D7DCD #CD7DA5
square
#CDCD7D #7DCDA5 #7D7DCD #CD7DA5
split-complementary
#CDCD7D #7DA5CD #A57DCD
monochromatic
#96963A #BCBC51 #CDCD7D #DEDEA9 #EFEFD5

Accessibility & contrast

On white

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

On black

12.62
#CDCD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD7D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD7D#FFFFFF#000000##000000
##CDCD7D1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C777
Deuteranopia (green-blind)
#DACA81
Tritanopia (blue-blind)
#D7C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd7d;
/* rgb */ color: rgb(205, 205, 125);
/* oklch */ color: oklch(83.0% 0.102 108.4);
Tailwind
colors: {
  custom: {
    50: '#dddca4',
    500: '#cdcd7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd7d;
$custom-light: #dddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd7d",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83043,
    "c": 0.10218,
    "h": 108.4
  },
  "luminance": 0.58122
}

Semantic roles & 50–950 ramp

primary
#CDCD7D
secondary
#52529C
accent
#2EB82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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