#CDCC6F#CDCC6F

#CDCC6F is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.116 H 108.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCC6F
RGBrgb(205, 204, 111)
HSLhsl(59, 48%, 62%)
HSVhsv(59, 46%, 80%)
CMYKcmyk(0%, 0.5%, 45.9%, 19.6%)
CIE-LABlab(80.36, -12.67, 46.19)
CIE-LCHlch(80.36, 47.90, 105.34°)
OKLaboklab(82.62% -0.0362 0.1104)
OKLCHoklch(82.62% 0.116 108.1)
XYZxyz(49.6400, 57.3137, 23.4836)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC6F #6F70CD
analogous
#CD9D6F #CDCC6F #9FCD6F
triadic
#CDCC6F #6FCDCC #CC6FCD
tetradic
#CDCC6F #6FCD9D #6F70CD #CD6F9F
square
#CDCC6F #6FCD9D #6F70CD #CD6F9F
split-complementary
#CDCC6F #6F9FCD #9D6FCD
monochromatic
#908F32 #BDBC42 #CDCC6F #DDDC9C #EDECCA

Accessibility & contrast

On white

1.69
#CDCC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CDCC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC6F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC6F#FFFFFF#000000##000000
##CDCC6F1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C567
Deuteranopia (green-blind)
#DBC973
Tritanopia (blue-blind)
#D9C2B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc6f;
/* rgb */ color: rgb(205, 204, 111);
/* oklch */ color: oklch(82.6% 0.116 108.1);
Tailwind
colors: {
  custom: {
    50: '#dedb9a',
    500: '#cdcc6f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc6f;
$custom-light: #dedb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc6f",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 59.362,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82624,
    "c": 0.11615,
    "h": 108.1
  },
  "luminance": 0.57313
}

Semantic roles & 50–950 ramp

primary
#CDCC6F
secondary
#4A4B96
accent
#2BBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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