#CDC46F#CDC46F

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

Color values

HEX#CDC46F
RGBrgb(205, 196, 111)
HSLhsl(54, 48%, 62%)
HSVhsv(54, 46%, 80%)
CMYKcmyk(0%, 4.4%, 45.9%, 19.6%)
CIE-LABlab(78.23, -8.59, 43.59)
CIE-LCHlch(78.23, 44.43, 101.15°)
OKLaboklab(80.94% -0.0245 0.1046)
OKLCHoklch(80.94% 0.107 103.2)
XYZxyz(47.7871, 53.6081, 22.8660)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC46F #6F78CD
analogous
#CD956F #CDC46F #A7CD6F
triadic
#CDC46F #6FCDC4 #C46FCD
tetradic
#CDC46F #6FCD95 #6F78CD #CD6FA7
square
#CDC46F #6FCD95 #6F78CD #CD6FA7
split-complementary
#CDC46F #6FA7CD #956FCD
monochromatic
#908732 #BDB142 #CDC46F #DDD79C #EDE9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC46F#FFFFFF#000000##000000
##CDC46F1.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)
#D2BF68
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc46f;
/* rgb */ color: rgb(205, 196, 111);
/* oklch */ color: oklch(80.9% 0.107 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded59a',
    500: '#cdc46f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc46f;
$custom-light: #ded59a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc46f",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 111
  },
  "hsl": {
    "h": 54.255,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80937,
    "c": 0.10743,
    "h": 103.2
  },
  "luminance": 0.53607
}

Semantic roles & 50–950 ramp

primary
#CDC46F
secondary
#4A5196
accent
#38BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC46F

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

Preview Lab → · Contrast checker → · Palette generator →

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