#CDCA6C#CDCA6C

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

Color values

HEX#CDCA6C
RGBrgb(205, 202, 108)
HSLhsl(58, 49%, 61%)
HSVhsv(58, 47%, 80%)
CMYKcmyk(0%, 1.5%, 47.3%, 19.6%)
CIE-LABlab(79.79, -11.94, 46.96)
CIE-LCHlch(79.79, 48.45, 104.27°)
OKLaboklab(82.16% -0.0344 0.1118)
OKLCHoklch(82.16% 0.117 107.1)
XYZxyz(49.0052, 56.3042, 22.4708)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA6C #6C6FCD
analogous
#CD9A6C #CDCA6C #A0CD6C
triadic
#CDCA6C #6CCDCA #CA6CCD
tetradic
#CDCA6C #6CCD9A #6C6FCD #CD6CA0
square
#CDCA6C #6CCD9A #6C6FCD #CD6CA0
split-complementary
#CDCA6C #6CA0CD #9A6CCD
monochromatic
#8E8B30 #BCB840 #CDCA6C #DDDA9A #ECEBC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA6C#FFFFFF#000000##000000
##CDCA6C1.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)
#D8C464
Deuteranopia (green-blind)
#DAC870
Tritanopia (blue-blind)
#D9BFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca6c;
/* rgb */ color: rgb(205, 202, 108);
/* oklch */ color: oklch(82.2% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#deda98',
    500: '#cdca6c',
    950: '#000000',
  },
}
SCSS
$custom: #cdca6c;
$custom-light: #deda98;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca6c",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 58.144,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82159,
    "c": 0.11699,
    "h": 107.1
  },
  "luminance": 0.56303
}

Semantic roles & 50–950 ramp

primary
#CDCA6C
secondary
#484B95
accent
#2EBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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