#CDC46E#CDC46E

#CDC46E is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.108 H 103.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CDC46E
RGBrgb(205, 196, 110)
HSLhsl(54, 49%, 62%)
HSVhsv(54, 46%, 80%)
CMYKcmyk(0%, 4.4%, 46.3%, 19.6%)
CIE-LABlab(78.22, -8.69, 44.07)
CIE-LCHlch(78.22, 44.92, 101.15°)
OKLaboklab(80.92% -0.0248 0.1056)
OKLCHoklch(80.92% 0.108 103.2)
XYZxyz(47.7324, 53.5862, 22.5776)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC46E #6E77CD
analogous
#CD956E #CDC46E #A7CD6E
triadic
#CDC46E #6ECDC4 #C46ECD
tetradic
#CDC46E #6ECD95 #6E77CD #CD6EA7
square
#CDC46E #6ECD95 #6E77CD #CD6EA7
split-complementary
#CDC46E #6EA7CD #956ECD
monochromatic
#8F8631 #BDB141 #CDC46E #DDD79C #ECE9C9

Accessibility & contrast

On white

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

On black

11.72
#CDC46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC46E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC46E#FFFFFF#000000##000000
##CDC46E1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF67
Deuteranopia (green-blind)
#D5C472
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc46e;
/* rgb */ color: rgb(205, 196, 110);
/* oklch */ color: oklch(80.9% 0.108 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded599',
    500: '#cdc46e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc46e;
$custom-light: #ded599;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc46e",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 110
  },
  "hsl": {
    "h": 54.316,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80923,
    "c": 0.10847,
    "h": 103.2
  },
  "luminance": 0.53585
}

Semantic roles & 50–950 ramp

primary
#CDC46E
secondary
#4A5196
accent
#37BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC46E

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

Preview Lab → · Contrast checker → · Palette generator →

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