#CDCA49#CDCA49

#CDCA49 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.148 H 108.0°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CDCA49
RGBrgb(205, 202, 73)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1.5%, 64.4%, 19.6%)
CIE-LABlab(79.44, -14.61, 62.31)
CIE-LCHlch(79.44, 64.00, 103.20°)
OKLaboklab(81.78% -0.0457 0.1407)
OKLCHoklch(81.78% 0.148 108)
XYZxyz(47.5016, 55.7027, 14.5515)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA49 #494CCD
analogous
#CD8849 #CDCA49 #8ECD49
triadic
#CDCA49 #49CDCA #CA49CD
tetradic
#CDCA49 #49CD88 #494CCD #CD498E
square
#CDCA49 #49CD88 #494CCD #CD498E
split-complementary
#CDCA49 #498ECD #8849CD
monochromatic
#7A7822 #AAA72F #CDCA49 #DAD879 #E7E6A9

Accessibility & contrast

On white

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

On black

12.14
#CDCA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA49
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA49#FFFFFF#000000##000000
##CDCA491.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#DBBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca49;
/* rgb */ color: rgb(205, 202, 73);
/* oklch */ color: oklch(81.8% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfd982',
    500: '#cdca49',
    950: '#000000',
  },
}
SCSS
$custom: #cdca49;
$custom-light: #dfd982;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca49",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 73
  },
  "hsl": {
    "h": 58.636,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.14795,
    "h": 108
  },
  "luminance": 0.55701
}

Semantic roles & 50–950 ramp

primary
#CDCA49
secondary
#383A82
accent
#4BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA49

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

Preview Lab → · Contrast checker → · Palette generator →

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