#CDCD6E#CDCD6E

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

Color values

HEX#CDCD6E
RGBrgb(205, 205, 110)
HSLhsl(60, 49%, 62%)
HSVhsv(60, 46%, 80%)
CMYKcmyk(0%, 0%, 46.3%, 19.6%)
CIE-LABlab(80.61, -13.27, 46.99)
CIE-LCHlch(80.61, 48.82, 105.77°)
OKLaboklab(82.82% -0.038 0.112)
OKLCHoklch(82.82% 0.118 108.7)
XYZxyz(49.8236, 57.7687, 23.2747)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD6E #6E6ECD
analogous
#CD9E6E #CDCD6E #9ECD6E
triadic
#CDCD6E #6ECDCD #CD6ECD
tetradic
#CDCD6E #6ECD9E #6E6ECD #CD6E9E
square
#CDCD6E #6ECD9E #6E6ECD #CD6E9E
split-complementary
#CDCD6E #6E9ECD #9E6ECD
monochromatic
#8F8F31 #BDBD41 #CDCD6E #DDDD9C #ECECC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD6E#FFFFFF#000000##000000
##CDCD6E1.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)
#DAC666
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#D9C3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd6e;
/* rgb */ color: rgb(205, 205, 110);
/* oklch */ color: oklch(82.8% 0.118 108.7);
Tailwind
colors: {
  custom: {
    50: '#dedc99',
    500: '#cdcd6e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd6e;
$custom-light: #dedc99;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd6e",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 110
  },
  "hsl": {
    "h": 60,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82822,
    "c": 0.1183,
    "h": 108.7
  },
  "luminance": 0.57768
}

Semantic roles & 50–950 ramp

primary
#CDCD6E
secondary
#4A4A96
accent
#29BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD6E

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

Preview Lab → · Contrast checker → · Palette generator →

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