#CDC645#CDC645

#CDC645 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.147 H 106.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CDC645
RGBrgb(205, 198, 69)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 66%, 80%)
CMYKcmyk(0%, 3.4%, 66.3%, 19.6%)
CIE-LABlab(78.34, -12.83, 62.77)
CIE-LCHlch(78.34, 64.07, 101.55°)
OKLaboklab(80.89% -0.0411 0.1411)
OKLCHoklch(80.89% 0.147 106.2)
XYZxyz(46.4468, 53.7986, 13.5666)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC645 #454CCD
analogous
#CD8245 #CDC645 #90CD45
triadic
#CDC645 #45CDC6 #C645CD
tetradic
#CDC645 #45CD82 #454CCD #CD4590
square
#CDC645 #45CD82 #454CCD #CD4590
split-complementary
#CDC645 #4590CD #8245CD
monochromatic
#777320 #A8A12D #CDC645 #DAD575 #E7E4A5

Accessibility & contrast

On white

1.79
#CDC645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CDC645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC645
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC645#FFFFFF#000000##000000
##CDC6451.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#DCB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc645;
/* rgb */ color: rgb(205, 198, 69);
/* oklch */ color: oklch(80.9% 0.147 106.2);
Tailwind
colors: {
  custom: {
    50: '#e0d780',
    500: '#cdc645',
    950: '#000000',
  },
}
SCSS
$custom: #cdc645;
$custom-light: #e0d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc645",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 56.912,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8089,
    "c": 0.14693,
    "h": 106.2
  },
  "luminance": 0.53797
}

Semantic roles & 50–950 ramp

primary
#CDC645
secondary
#363A80
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC645

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

Preview Lab → · Contrast checker → · Palette generator →

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