#CDCA4D#CDCA4D

#CDCA4D is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.145 H 107.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CDCA4D
RGBrgb(205, 202, 77)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1.5%, 62.4%, 19.6%)
CIE-LABlab(79.48, -14.36, 60.70)
CIE-LCHlch(79.48, 62.37, 103.31°)
OKLaboklab(81.81% -0.0445 0.1379)
OKLCHoklch(81.81% 0.145 107.9)
XYZxyz(47.6385, 55.7575, 15.2726)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA4D #4D50CD
analogous
#CD8A4D #CDCA4D #90CD4D
triadic
#CDCA4D #4DCDCA #CA4DCD
tetradic
#CDCA4D #4DCD8A #4D50CD #CD4D90
square
#CDCA4D #4DCD8A #4D50CD #CD4D90
split-complementary
#CDCA4D #4D90CD #8A4DCD
monochromatic
#7D7A23 #ACA930 #CDCA4D #DAD87D #E8E6AD

Accessibility & contrast

On white

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

On black

12.15
#CDCA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA4D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA4D#FFFFFF#000000##000000
##CDCA4D1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca4d;
/* rgb */ color: rgb(205, 202, 77);
/* oklch */ color: oklch(81.8% 0.145 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd984',
    500: '#cdca4d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca4d;
$custom-light: #dfd984;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca4d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 58.594,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81811,
    "c": 0.14495,
    "h": 107.9
  },
  "luminance": 0.55756
}

Semantic roles & 50–950 ramp

primary
#CDCA4D
secondary
#3A3B84
accent
#4CDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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