#CDCC4B#CDCC4B

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

Color values

HEX#CDCC4B
RGBrgb(205, 204, 75)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0.5%, 63.4%, 19.6%)
CIE-LABlab(80.00, -15.49, 62.07)
CIE-LCHlch(80.00, 63.97, 104.01°)
OKLaboklab(82.22% -0.0479 0.1405)
OKLCHoklch(82.22% 0.148 108.8)
XYZxyz(48.0413, 56.6743, 15.0638)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC4B #4B4CCD
analogous
#CD8B4B #CDCC4B #8DCD4B
triadic
#CDCC4B #4BCDCC #CC4BCD
tetradic
#CDCC4B #4BCD8B #4B4CCD #CD4B8D
square
#CDCC4B #4BCD8B #4B4CCD #CD4B8D
split-complementary
#CDCC4B #4B8DCD #8B4BCD
monochromatic
#7B7B22 #ABAA30 #CDCC4B #DADA7B #E8E7AB

Accessibility & contrast

On white

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

On black

12.33
#CDCC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC4B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC4B#FFFFFF#000000##000000
##CDCC4B1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43A
Deuteranopia (green-blind)
#DEC853
Tritanopia (blue-blind)
#DBC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc4b;
/* rgb */ color: rgb(205, 204, 75);
/* oklch */ color: oklch(82.2% 0.148 108.8);
Tailwind
colors: {
  custom: {
    50: '#dfdb83',
    500: '#cdcc4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc4b;
$custom-light: #dfdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc4b",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 59.538,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82221,
    "c": 0.14849,
    "h": 108.8
  },
  "luminance": 0.56673
}

Semantic roles & 50–950 ramp

primary
#CDCC4B
secondary
#393983
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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