#CDC46D#CDC46D

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

Color values

HEX#CDC46D
RGBrgb(205, 196, 109)
HSLhsl(54, 49%, 62%)
HSVhsv(54, 47%, 80%)
CMYKcmyk(0%, 4.4%, 46.8%, 19.6%)
CIE-LABlab(78.21, -8.78, 44.55)
CIE-LCHlch(78.21, 45.41, 101.15°)
OKLaboklab(80.91% -0.0252 0.1066)
OKLCHoklch(80.91% 0.11 103.3)
XYZxyz(47.6783, 53.5645, 22.2925)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC46D #6D76CD
analogous
#CD946D #CDC46D #A6CD6D
triadic
#CDC46D #6DCDC4 #C46DCD
tetradic
#CDC46D #6DCD94 #6D76CD #CD6DA6
square
#CDC46D #6DCD94 #6D76CD #CD6DA6
split-complementary
#CDC46D #6DA6CD #946DCD
monochromatic
#8F8631 #BCB140 #CDC46D #DDD69B #ECE9C8

Accessibility & contrast

On white

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

On black

11.71
#CDC46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC46D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC46D#FFFFFF#000000##000000
##CDC46D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF66
Deuteranopia (green-blind)
#D5C471
Tritanopia (blue-blind)
#D9BAAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc46d;
/* rgb */ color: rgb(205, 196, 109);
/* oklch */ color: oklch(80.9% 0.110 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded598',
    500: '#cdc46d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc46d;
$custom-light: #ded598;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc46d",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 109
  },
  "hsl": {
    "h": 54.375,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80908,
    "c": 0.10952,
    "h": 103.3
  },
  "luminance": 0.53563
}

Semantic roles & 50–950 ramp

primary
#CDC46D
secondary
#495095
accent
#37BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC46D

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

Preview Lab → · Contrast checker → · Palette generator →

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