#CDC541#CDC541

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

Color values

HEX#CDC541
RGBrgb(205, 197, 65)
HSLhsl(57, 58%, 53%)
HSVhsv(57, 68%, 80%)
CMYKcmyk(0%, 3.9%, 68.3%, 19.6%)
CIE-LABlab(78.05, -12.54, 64.03)
CIE-LCHlch(78.05, 65.25, 101.08°)
OKLaboklab(80.65% -0.0407 0.1431)
OKLCHoklch(80.65% 0.149 105.9)
XYZxyz(46.0990, 53.2949, 12.8587)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC541 #4149CD
analogous
#CD7F41 #CDC541 #8FCD41
triadic
#CDC541 #41CDC5 #C541CD
tetradic
#CDC541 #41CD7F #4149CD #CD418F
square
#CDC541 #41CD7F #4149CD #CD418F
split-complementary
#CDC541 #418FCD #7F41CD
monochromatic
#75701F #A59E2C #CDC541 #DAD471 #E6E3A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC541#FFFFFF#000000##000000
##CDC5411.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)
#D6BE2D
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#DCB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc541;
/* rgb */ color: rgb(205, 197, 65);
/* oklch */ color: oklch(80.6% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#e0d67d',
    500: '#cdc541',
    950: '#000000',
  },
}
SCSS
$custom: #cdc541;
$custom-light: #e0d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc541",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 56.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80646,
    "c": 0.14875,
    "h": 105.9
  },
  "luminance": 0.53293
}

Semantic roles & 50–950 ramp

primary
#CDC541
secondary
#35397D
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC541

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

Preview Lab → · Contrast checker → · Palette generator →

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