#CDCA6A#CDCA6A

#CDCA6A is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.119 H 107.2°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CDCA6A
RGBrgb(205, 202, 106)
HSLhsl(58, 50%, 61%)
HSVhsv(58, 48%, 80%)
CMYKcmyk(0%, 1.5%, 48.3%, 19.6%)
CIE-LABlab(79.76, -12.13, 47.90)
CIE-LCHlch(79.76, 49.41, 104.21°)
OKLaboklab(82.13% -0.0351 0.1137)
OKLCHoklch(82.13% 0.119 107.2)
XYZxyz(48.9000, 56.2621, 21.9166)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA6A #6A6DCD
analogous
#CD986A #CDCA6A #9ECD6A
triadic
#CDCA6A #6ACDCA #CA6ACD
tetradic
#CDCA6A #6ACD98 #6A6DCD #CD6A9E
square
#CDCA6A #6ACD98 #6A6DCD #CD6A9E
split-complementary
#CDCA6A #6A9ECD #986ACD
monochromatic
#8D8A2F #BBB73F #CDCA6A #DCDA98 #ECEBC6

Accessibility & contrast

On white

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

On black

12.25
#CDCA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA6A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA6A#FFFFFF#000000##000000
##CDCA6A1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C362
Deuteranopia (green-blind)
#DAC86F
Tritanopia (blue-blind)
#D9BFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca6a;
/* rgb */ color: rgb(205, 202, 106);
/* oklch */ color: oklch(82.1% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#deda97',
    500: '#cdca6a',
    950: '#000000',
  },
}
SCSS
$custom: #cdca6a;
$custom-light: #deda97;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca6a",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 106
  },
  "hsl": {
    "h": 58.182,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82133,
    "c": 0.11902,
    "h": 107.2
  },
  "luminance": 0.56261
}

Semantic roles & 50–950 ramp

primary
#CDCA6A
secondary
#474A94
accent
#2DBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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