#CDC545#CDC545

#CDC545 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.146 H 105.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC545
RGBrgb(205, 197, 69)
HSLhsl(56, 58%, 54%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 3.9%, 66.3%, 19.6%)
CIE-LABlab(78.08, -12.32, 62.50)
CIE-LCHlch(78.08, 63.70, 101.15°)
OKLaboklab(80.68% -0.0396 0.1405)
OKLCHoklch(80.68% 0.146 105.7)
XYZxyz(46.2190, 53.3429, 13.4907)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC545 #454DCD
analogous
#CD8145 #CDC545 #91CD45
triadic
#CDC545 #45CDC5 #C545CD
tetradic
#CDC545 #45CD81 #454DCD #CD4591
square
#CDC545 #45CD81 #454DCD #CD4591
split-complementary
#CDC545 #4591CD #8145CD
monochromatic
#777220 #A8A12D #CDC545 #DAD475 #E7E3A5

Accessibility & contrast

On white

1.80
#CDC545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CDC545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC545
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC545#FFFFFF#000000##000000
##CDC5451.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#DCB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc545;
/* rgb */ color: rgb(205, 197, 69);
/* oklch */ color: oklch(80.7% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d67f',
    500: '#cdc545',
    950: '#000000',
  },
}
SCSS
$custom: #cdc545;
$custom-light: #e0d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc545",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 56.471,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80677,
    "c": 0.14598,
    "h": 105.7
  },
  "luminance": 0.53341
}

Semantic roles & 50–950 ramp

primary
#CDC545
secondary
#363B80
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC545

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

Preview Lab → · Contrast checker → · Palette generator →

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