#CDCD7E#CDCD7E

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

Color values

HEX#CDCD7E
RGBrgb(205, 205, 126)
HSLhsl(60, 44%, 65%)
HSVhsv(60, 39%, 80%)
CMYKcmyk(0%, 0%, 38.5%, 19.6%)
CIE-LABlab(80.82, -11.63, 39.32)
CIE-LCHlch(80.82, 41.01, 106.48°)
OKLaboklab(83.06% -0.0319 0.0959)
OKLCHoklch(83.06% 0.101 108.4)
XYZxyz(50.7747, 58.1491, 28.2838)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD7E #7E7ECD
analogous
#CDA67E #CDCD7E #A6CD7E
triadic
#CDCD7E #7ECDCD #CD7ECD
tetradic
#CDCD7E #7ECDA6 #7E7ECD #CD7EA6
square
#CDCD7E #7ECDA6 #7E7ECD #CD7EA6
split-complementary
#CDCD7E #7EA6CD #A67ECD
monochromatic
#96963A #BCBC52 #CDCD7E #DEDEAA #EFEFD6

Accessibility & contrast

On white

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

On black

12.63
#CDCD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD7E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD7E#FFFFFF#000000##000000
##CDCD7E1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd7e;
/* rgb */ color: rgb(205, 205, 126);
/* oklch */ color: oklch(83.1% 0.101 108.4);
Tailwind
colors: {
  custom: {
    50: '#dddca4',
    500: '#cdcd7e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd7e;
$custom-light: #dddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd7e",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83059,
    "c": 0.10105,
    "h": 108.4
  },
  "luminance": 0.58148
}

Semantic roles & 50–950 ramp

primary
#CDCD7E
secondary
#53539D
accent
#2EB72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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