#CDCA4C#CDCA4C

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

Color values

HEX#CDCA4C
RGBrgb(205, 202, 76)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1.5%, 62.9%, 19.6%)
CIE-LABlab(79.47, -14.43, 61.10)
CIE-LCHlch(79.47, 62.78, 103.28°)
OKLaboklab(81.8% -0.0448 0.1386)
OKLCHoklch(81.8% 0.146 107.9)
XYZxyz(47.6035, 55.7434, 15.0881)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA4C #4C4FCD
analogous
#CD8A4C #CDCA4C #8FCD4C
triadic
#CDCA4C #4CCDCA #CA4CCD
tetradic
#CDCA4C #4CCD8A #4C4FCD #CD4C8F
square
#CDCA4C #4CCD8A #4C4FCD #CD4C8F
split-complementary
#CDCA4C #4C8FCD #8A4CCD
monochromatic
#7C7A23 #ACA930 #CDCA4C #DAD87C #E8E6AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA4C#FFFFFF#000000##000000
##CDCA4C1.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)
#DAC23C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca4c;
/* rgb */ color: rgb(205, 202, 76);
/* oklch */ color: oklch(81.8% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd984',
    500: '#cdca4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdca4c;
$custom-light: #dfd984;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca4c",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 58.605,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81802,
    "c": 0.14571,
    "h": 107.9
  },
  "luminance": 0.55742
}

Semantic roles & 50–950 ramp

primary
#CDCA4C
secondary
#393B84
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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