#CDC46A#CDC46A

#CDC46A is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.113 H 103.5°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CDC46A
RGBrgb(205, 196, 106)
HSLhsl(55, 50%, 61%)
HSVhsv(55, 48%, 80%)
CMYKcmyk(0%, 4.4%, 48.3%, 19.6%)
CIE-LABlab(78.17, -9.07, 45.98)
CIE-LCHlch(78.17, 46.86, 101.15°)
OKLaboklab(80.87% -0.0263 0.1095)
OKLCHoklch(80.87% 0.113 103.5)
XYZxyz(47.5195, 53.5011, 21.4564)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC46A #6A73CD
analogous
#CD926A #CDC46A #A4CD6A
triadic
#CDC46A #6ACDC4 #C46ACD
tetradic
#CDC46A #6ACD92 #6A73CD #CD6AA4
square
#CDC46A #6ACD92 #6A73CD #CD6AA4
split-complementary
#CDC46A #6AA4CD #926ACD
monochromatic
#8D852F #BBB03F #CDC46A #DCD698 #ECE8C6

Accessibility & contrast

On white

1.79
#CDC46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CDC46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC46A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC46A#FFFFFF#000000##000000
##CDC46A1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF62
Deuteranopia (green-blind)
#D5C46E
Tritanopia (blue-blind)
#DAB9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc46a;
/* rgb */ color: rgb(205, 196, 106);
/* oklch */ color: oklch(80.9% 0.113 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded596',
    500: '#cdc46a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc46a;
$custom-light: #ded596;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc46a",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 106
  },
  "hsl": {
    "h": 54.545,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80867,
    "c": 0.11263,
    "h": 103.5
  },
  "luminance": 0.535
}

Semantic roles & 50–950 ramp

primary
#CDC46A
secondary
#474E94
accent
#36BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC46A

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

Preview Lab → · Contrast checker → · Palette generator →

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