#CDCA48#CDCA48

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

Color values

HEX#CDCA48
RGBrgb(205, 202, 72)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1.5%, 64.9%, 19.6%)
CIE-LABlab(79.44, -14.67, 62.70)
CIE-LCHlch(79.44, 64.39, 103.17°)
OKLaboklab(81.77% -0.0459 0.1414)
OKLCHoklch(81.77% 0.149 108)
XYZxyz(47.4687, 55.6895, 14.3783)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA48 #484BCD
analogous
#CD8848 #CDCA48 #8DCD48
triadic
#CDCA48 #48CDCA #CA48CD
tetradic
#CDCA48 #48CD88 #484BCD #CD488D
square
#CDCA48 #48CD88 #484BCD #CD488D
split-complementary
#CDCA48 #488DCD #8848CD
monochromatic
#797721 #A9A72E #CDCA48 #DAD878 #E7E6A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA48#FFFFFF#000000##000000
##CDCA481.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)
#DAC236
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca48;
/* rgb */ color: rgb(205, 202, 72);
/* oklch */ color: oklch(81.8% 0.149 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfd982',
    500: '#cdca48',
    950: '#000000',
  },
}
SCSS
$custom: #cdca48;
$custom-light: #dfd982;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca48",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 58.647,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81768,
    "c": 0.14869,
    "h": 108
  },
  "luminance": 0.55688
}

Semantic roles & 50–950 ramp

primary
#CDCA48
secondary
#383982
accent
#4BE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA48

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

Preview Lab → · Contrast checker → · Palette generator →

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