#CDCC4F#CDCC4F

#CDCC4F is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.145 H 108.8°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CDCC4F
RGBrgb(205, 204, 79)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0.5%, 61.5%, 19.6%)
CIE-LABlab(80.03, -15.24, 60.45)
CIE-LCHlch(80.03, 62.34, 104.15°)
OKLaboklab(82.26% -0.0468 0.1377)
OKLCHoklch(82.26% 0.145 108.8)
XYZxyz(48.1825, 56.7307, 15.8076)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC4F #4F50CD
analogous
#CD8D4F #CDCC4F #8FCD4F
triadic
#CDCC4F #4FCDCC #CC4FCD
tetradic
#CDCC4F #4FCD8D #4F50CD #CD4F8F
square
#CDCC4F #4FCD8D #4F50CD #CD4F8F
split-complementary
#CDCC4F #4F8FCD #8D4FCD
monochromatic
#7E7D24 #AEAD31 #CDCC4F #DBDA7F #E8E8AE

Accessibility & contrast

On white

1.70
#CDCC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CDCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC4F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC4F#FFFFFF#000000##000000
##CDCC4F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC440
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#DBC0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc4f;
/* rgb */ color: rgb(205, 204, 79);
/* oklch */ color: oklch(82.3% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#dfdb86',
    500: '#cdcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc4f;
$custom-light: #dfdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc4f",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 59.524,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82257,
    "c": 0.14543,
    "h": 108.8
  },
  "luminance": 0.56729
}

Semantic roles & 50–950 ramp

primary
#CDCC4F
secondary
#3B3B86
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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