#CDCA4A#CDCA4A

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

Color values

HEX#CDCA4A
RGBrgb(205, 202, 74)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1.5%, 63.9%, 19.6%)
CIE-LABlab(79.45, -14.55, 61.91)
CIE-LCHlch(79.45, 63.59, 103.22°)
OKLaboklab(81.79% -0.0454 0.14)
OKLCHoklch(81.79% 0.147 108)
XYZxyz(47.5350, 55.7161, 14.7275)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA4A #4A4DCD
analogous
#CD894A #CDCA4A #8FCD4A
triadic
#CDCA4A #4ACDCA #CA4ACD
tetradic
#CDCA4A #4ACD89 #4A4DCD #CD4A8F
square
#CDCA4A #4ACD89 #4A4DCD #CD4A8F
split-complementary
#CDCA4A #4A8FCD #894ACD
monochromatic
#7B7922 #ABA82F #CDCA4A #DAD87A #E7E6AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA4A#FFFFFF#000000##000000
##CDCA4A1.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)
#DAC239
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca4a;
/* rgb */ color: rgb(205, 202, 74);
/* oklch */ color: oklch(81.8% 0.147 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#cdca4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdca4a;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca4a",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 74
  },
  "hsl": {
    "h": 58.626,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81785,
    "c": 0.14721,
    "h": 108
  },
  "luminance": 0.55715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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