#CDCA6D#CDCA6D

#CDCA6D is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.116 H 107.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CDCA6D
RGBrgb(205, 202, 109)
HSLhsl(58, 49%, 62%)
HSVhsv(58, 47%, 80%)
CMYKcmyk(0%, 1.5%, 46.8%, 19.6%)
CIE-LABlab(79.80, -11.85, 46.49)
CIE-LCHlch(79.80, 47.97, 104.30°)
OKLaboklab(82.17% -0.034 0.1109)
OKLCHoklch(82.17% 0.116 107.1)
XYZxyz(49.0588, 56.3256, 22.7527)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA6D #6D70CD
analogous
#CD9A6D #CDCA6D #A0CD6D
triadic
#CDCA6D #6DCDCA #CA6DCD
tetradic
#CDCA6D #6DCD9A #6D70CD #CD6DA0
square
#CDCA6D #6DCD9A #6D70CD #CD6DA0
split-complementary
#CDCA6D #6DA0CD #9A6DCD
monochromatic
#8F8C31 #BCB840 #CDCA6D #DDDB9B #ECEBC8

Accessibility & contrast

On white

1.71
#CDCA6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CDCA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA6D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA6D#FFFFFF#000000##000000
##CDCA6D1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C465
Deuteranopia (green-blind)
#DAC871
Tritanopia (blue-blind)
#D9C0B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca6d;
/* rgb */ color: rgb(205, 202, 109);
/* oklch */ color: oklch(82.2% 0.116 107.1);
Tailwind
colors: {
  custom: {
    50: '#deda99',
    500: '#cdca6d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca6d;
$custom-light: #deda99;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca6d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 109
  },
  "hsl": {
    "h": 58.125,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82173,
    "c": 0.11597,
    "h": 107.1
  },
  "luminance": 0.56324
}

Semantic roles & 50–950 ramp

primary
#CDCA6D
secondary
#494B95
accent
#2EBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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