#CDCA41#CDCA41

#CDCA41 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.154 H 108.1°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CDCA41
RGBrgb(205, 202, 65)
HSLhsl(59, 58%, 53%)
HSVhsv(59, 68%, 80%)
CMYKcmyk(0%, 1.5%, 68.3%, 19.6%)
CIE-LABlab(79.39, -15.06, 65.37)
CIE-LCHlch(79.39, 67.08, 102.97°)
OKLaboklab(81.71% -0.0477 0.1459)
OKLCHoklch(81.71% 0.154 108.1)
XYZxyz(47.2532, 55.6033, 13.2434)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA41 #4144CD
analogous
#CD8441 #CDCA41 #8ACD41
triadic
#CDCA41 #41CDCA #CA41CD
tetradic
#CDCA41 #41CD84 #4144CD #CD418A
square
#CDCA41 #41CD84 #4144CD #CD418A
split-complementary
#CDCA41 #418ACD #8441CD
monochromatic
#75731F #A5A32C #CDCA41 #DAD871 #E6E5A2

Accessibility & contrast

On white

1.73
#CDCA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CDCA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA41
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA41#FFFFFF#000000##000000
##CDCA411.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22C
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca41;
/* rgb */ color: rgb(205, 202, 65);
/* oklch */ color: oklch(81.7% 0.154 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0d97e',
    500: '#cdca41',
    950: '#000000',
  },
}
SCSS
$custom: #cdca41;
$custom-light: #e0d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca41",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 65
  },
  "hsl": {
    "h": 58.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81713,
    "c": 0.15352,
    "h": 108.1
  },
  "luminance": 0.55602
}

Semantic roles & 50–950 ramp

primary
#CDCA41
secondary
#35367D
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCA41

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

Preview Lab → · Contrast checker → · Palette generator →

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