#CDC543#CDC543

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

Color values

HEX#CDC543
RGBrgb(205, 197, 67)
HSLhsl(57, 58%, 53%)
HSVhsv(57, 67%, 80%)
CMYKcmyk(0%, 3.9%, 67.3%, 19.6%)
CIE-LABlab(78.06, -12.43, 63.27)
CIE-LCHlch(78.06, 64.48, 101.11°)
OKLaboklab(80.66% -0.0401 0.1418)
OKLCHoklch(80.66% 0.147 105.8)
XYZxyz(46.1580, 53.3185, 13.1692)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC543 #434BCD
analogous
#CD8043 #CDC543 #90CD43
triadic
#CDC543 #43CDC5 #C543CD
tetradic
#CDC543 #43CD80 #434BCD #CD4390
square
#CDC543 #43CD80 #434BCD #CD4390
split-complementary
#CDC543 #4390CD #8043CD
monochromatic
#76711F #A79F2C #CDC543 #DAD473 #E7E3A4

Accessibility & contrast

On white

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

On black

11.66
#CDC543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC543
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC543#FFFFFF#000000##000000
##CDC5431.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc543;
/* rgb */ color: rgb(205, 197, 67);
/* oklch */ color: oklch(80.7% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#e0d67e',
    500: '#cdc543',
    950: '#000000',
  },
}
SCSS
$custom: #cdc543;
$custom-light: #e0d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc543",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 56.522,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80661,
    "c": 0.14738,
    "h": 105.8
  },
  "luminance": 0.53317
}

Semantic roles & 50–950 ramp

primary
#CDC543
secondary
#363A7F
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC543

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

Preview Lab → · Contrast checker → · Palette generator →

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