#CDC941#CDC941

#CDC941 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.153 H 107.7°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CDC941
RGBrgb(205, 201, 65)
HSLhsl(58, 58%, 53%)
HSVhsv(58, 68%, 80%)
CMYKcmyk(0%, 2%, 68.3%, 19.6%)
CIE-LABlab(79.12, -14.56, 65.10)
CIE-LCHlch(79.12, 66.71, 102.60°)
OKLaboklab(81.5% -0.0463 0.1453)
OKLCHoklch(81.5% 0.153 107.7)
XYZxyz(47.0193, 55.1356, 13.1654)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC941 #4145CD
analogous
#CD8341 #CDC941 #8BCD41
triadic
#CDC941 #41CDC9 #C941CD
tetradic
#CDC941 #41CD83 #4145CD #CD418B
square
#CDC941 #41CD83 #4145CD #CD418B
split-complementary
#CDC941 #418BCD #8341CD
monochromatic
#75721F #A5A22C #CDC941 #DAD771 #E6E5A2

Accessibility & contrast

On white

1.75
#CDC941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CDC941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC941
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC941#FFFFFF#000000##000000
##CDC9411.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#DCBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc941;
/* rgb */ color: rgb(205, 201, 65);
/* oklch */ color: oklch(81.5% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0d97e',
    500: '#cdc941',
    950: '#000000',
  },
}
SCSS
$custom: #cdc941;
$custom-light: #e0d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc941",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 58.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81499,
    "c": 0.15255,
    "h": 107.7
  },
  "luminance": 0.55134
}

Semantic roles & 50–950 ramp

primary
#CDC941
secondary
#35377D
accent
#4BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC941

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

Preview Lab → · Contrast checker → · Palette generator →

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