#CDD941#CDD941

#CDD941 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.169 H 113.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#CDD941
RGBrgb(205, 217, 65)
HSLhsl(65, 67%, 55%)
HSVhsv(65, 70%, 85%)
CMYKcmyk(5.5%, 0%, 70%, 14.9%)
CIE-LABlab(83.44, -22.45, 69.37)
CIE-LCHlch(83.44, 72.91, 107.93°)
OKLaboklab(84.95% -0.0684 0.1543)
OKLCHoklch(84.95% 0.169 113.9)
XYZxyz(50.9453, 62.9875, 14.4741)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD941 #4D41D9
analogous
#D99941 #CDD941 #81D941
triadic
#CDD941 #41CDD9 #D941CD
tetradic
#CDD941 #41D999 #4D41D9 #D94181
square
#CDD941 #41D999 #4D41D9 #D94181
split-complementary
#CDD941 #4181D9 #9941D9
monochromatic
#7D851B #ACB825 #CDD941 #DAE374 #E8EDA7

Accessibility & contrast

On white

1.54
#CDD941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#CDD941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD941
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD941#FFFFFF#000000##000000
##CDD9411.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF27
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#DACCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd941;
/* rgb */ color: rgb(205, 217, 65);
/* oklch */ color: oklch(85.0% 0.169 113.9);
Tailwind
colors: {
  custom: {
    50: '#e0e47f',
    500: '#cdd941',
    950: '#000000',
  },
}
SCSS
$custom: #cdd941;
$custom-light: #e0e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd941",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 64.737,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8495,
    "c": 0.16883,
    "h": 113.9
  },
  "luminance": 0.62986
}

Semantic roles & 50–950 ramp

primary
#CDD941
secondary
#3A338B
accent
#3EEA4C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD941

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

Preview Lab → · Contrast checker → · Palette generator →

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