#CDCA4E#CDCA4E

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

Color values

HEX#CDCA4E
RGBrgb(205, 202, 78)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1.5%, 62%, 19.6%)
CIE-LABlab(79.48, -14.30, 60.29)
CIE-LCHlch(79.48, 61.96, 103.34°)
OKLaboklab(81.82% -0.0443 0.1372)
OKLCHoklch(81.82% 0.144 107.9)
XYZxyz(47.6741, 55.7717, 15.4600)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA4E #4E51CD
analogous
#CD8B4E #CDCA4E #90CD4E
triadic
#CDCA4E #4ECDCA #CA4ECD
tetradic
#CDCA4E #4ECD8B #4E51CD #CD4E90
square
#CDCA4E #4ECD8B #4E51CD #CD4E90
split-complementary
#CDCA4E #4E90CD #8B4ECD
monochromatic
#7D7B23 #ADAA31 #CDCA4E #DAD87E #E8E7AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA4E#FFFFFF#000000##000000
##CDCA4E1.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)
#DAC23F
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca4e;
/* rgb */ color: rgb(205, 202, 78);
/* oklch */ color: oklch(81.8% 0.144 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd985',
    500: '#cdca4e',
    950: '#000000',
  },
}
SCSS
$custom: #cdca4e;
$custom-light: #dfd985;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca4e",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 58.583,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8182,
    "c": 0.14417,
    "h": 107.9
  },
  "luminance": 0.5577
}

Semantic roles & 50–950 ramp

primary
#CDCA4E
secondary
#3A3C85
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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