#CDCC45#CDCC45

#CDCC45 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.153 H 108.9°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CDCC45
RGBrgb(205, 204, 69)
HSLhsl(60, 58%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0.5%, 66.3%, 19.6%)
CIE-LABlab(79.95, -15.84, 64.41)
CIE-LCHlch(79.95, 66.33, 103.82°)
OKLaboklab(82.17% -0.0495 0.1445)
OKLCHoklch(82.17% 0.153 108.9)
XYZxyz(47.8455, 56.5960, 14.0328)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC45 #4546CD
analogous
#CD8845 #CDCC45 #8ACD45
triadic
#CDCC45 #45CDCC #CC45CD
tetradic
#CDCC45 #45CD88 #4546CD #CD458A
square
#CDCC45 #45CD88 #4546CD #CD458A
split-complementary
#CDCC45 #458ACD #8845CD
monochromatic
#777720 #A8A72D #CDCC45 #DAD975 #E7E6A5

Accessibility & contrast

On white

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

On black

12.32
#CDCC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC45
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC45#FFFFFF#000000##000000
##CDCC451.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc45;
/* rgb */ color: rgb(205, 204, 69);
/* oklch */ color: oklch(82.2% 0.153 108.9);
Tailwind
colors: {
  custom: {
    50: '#e0db80',
    500: '#cdcc45',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc45;
$custom-light: #e0db80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc45",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 59.559,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82172,
    "c": 0.1528,
    "h": 108.9
  },
  "luminance": 0.56595
}

Semantic roles & 50–950 ramp

primary
#CDCC45
secondary
#363780
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC45

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

Preview Lab → · Contrast checker → · Palette generator →

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