#CDCD6F#CDCD6F

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

Color values

HEX#CDCD6F
RGBrgb(205, 205, 111)
HSLhsl(60, 48%, 62%)
HSVhsv(60, 46%, 80%)
CMYKcmyk(0%, 0%, 45.9%, 19.6%)
CIE-LABlab(80.62, -13.18, 46.51)
CIE-LCHlch(80.62, 48.34, 105.81°)
OKLaboklab(82.84% -0.0376 0.1111)
OKLCHoklch(82.84% 0.117 108.7)
XYZxyz(49.8784, 57.7906, 23.5631)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD6F #6F6FCD
analogous
#CD9E6F #CDCD6F #9ECD6F
triadic
#CDCD6F #6FCDCD #CD6FCD
tetradic
#CDCD6F #6FCD9E #6F6FCD #CD6F9E
square
#CDCD6F #6FCD9E #6F6FCD #CD6F9E
split-complementary
#CDCD6F #6F9ECD #9E6FCD
monochromatic
#909032 #BDBD42 #CDCD6F #DDDD9C #EDEDCA

Accessibility & contrast

On white

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

On black

12.56
#CDCD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD6F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD6F#FFFFFF#000000##000000
##CDCD6F1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC667
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#D9C3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd6f;
/* rgb */ color: rgb(205, 205, 111);
/* oklch */ color: oklch(82.8% 0.117 108.7);
Tailwind
colors: {
  custom: {
    50: '#dedc9a',
    500: '#cdcd6f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd6f;
$custom-light: #dedc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd6f",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82836,
    "c": 0.11728,
    "h": 108.7
  },
  "luminance": 0.57789
}

Semantic roles & 50–950 ramp

primary
#CDCD6F
secondary
#4A4A96
accent
#2ABC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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