#CDCA79#CDCA79

#CDCA79 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.103 H 106.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CDCA79
RGBrgb(205, 202, 121)
HSLhsl(58, 46%, 64%)
HSVhsv(58, 41%, 80%)
CMYKcmyk(0%, 1.5%, 41%, 19.6%)
CIE-LABlab(79.96, -10.65, 40.74)
CIE-LCHlch(79.96, 42.11, 104.65°)
OKLaboklab(82.35% -0.0295 0.0988)
OKLCHoklch(82.35% 0.103 106.6)
XYZxyz(49.7494, 56.6018, 26.3900)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA79 #797CCD
analogous
#CDA079 #CDCA79 #A6CD79
triadic
#CDCA79 #79CDCA #CA79CD
tetradic
#CDCA79 #79CDA0 #797CCD #CD79A6
square
#CDCA79 #79CDA0 #797CCD #CD79A6
split-complementary
#CDCA79 #79A6CD #A079CD
monochromatic
#949137 #BCB84C #CDCA79 #DEDCA6 #EEEDD2

Accessibility & contrast

On white

1.70
#CDCA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CDCA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA79
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA79#FFFFFF#000000##000000
##CDCA791.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C473
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#D8C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca79;
/* rgb */ color: rgb(205, 202, 121);
/* oklch */ color: oklch(82.3% 0.103 106.6);
Tailwind
colors: {
  custom: {
    50: '#dddaa1',
    500: '#cdca79',
    950: '#000000',
  },
}
SCSS
$custom: #cdca79;
$custom-light: #dddaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca79",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 57.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82348,
    "c": 0.10315,
    "h": 106.6
  },
  "luminance": 0.56601
}

Semantic roles & 50–950 ramp

primary
#CDCA79
secondary
#50529B
accent
#32B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA79

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

Preview Lab → · Contrast checker → · Palette generator →

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