#CDCA84#CDCA84

#CDCA84 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.091 H 106.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDCA84
RGBrgb(205, 202, 132)
HSLhsl(58, 42%, 66%)
HSVhsv(58, 36%, 80%)
CMYKcmyk(0%, 1.5%, 35.6%, 19.6%)
CIE-LABlab(80.12, -9.42, 35.36)
CIE-LCHlch(80.12, 36.60, 104.92°)
OKLaboklab(82.53% -0.0252 0.0871)
OKLCHoklch(82.53% 0.091 106.1)
XYZxyz(50.4628, 56.8872, 30.1474)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA84 #8487CD
analogous
#CDA584 #CDCA84 #ABCD84
triadic
#CDCA84 #84CDCA #CA84CD
tetradic
#CDCA84 #84CDA5 #8487CD #CD84AB
square
#CDCA84 #84CDA5 #8487CD #CD84AB
split-complementary
#CDCA84 #84ABCD #A584CD
monochromatic
#99953E #BBB758 #CDCA84 #DFDDB0 #F0EFDB

Accessibility & contrast

On white

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

On black

12.38
#CDCA84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA84
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA84#FFFFFF#000000##000000
##CDCA841.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C57F
Deuteranopia (green-blind)
#D7C887
Tritanopia (blue-blind)
#D7C1B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca84;
/* rgb */ color: rgb(205, 202, 132);
/* oklch */ color: oklch(82.5% 0.091 106.1);
Tailwind
colors: {
  custom: {
    50: '#dddaa8',
    500: '#cdca84',
    950: '#000000',
  },
}
SCSS
$custom: #cdca84;
$custom-light: #dddaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca84",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 132
  },
  "hsl": {
    "h": 57.534,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82528,
    "c": 0.09064,
    "h": 106.1
  },
  "luminance": 0.56886
}

Semantic roles & 50–950 ramp

primary
#CDCA84
secondary
#56599F
accent
#36B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDCA84

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

Preview Lab → · Contrast checker → · Palette generator →

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