#CDC46B#CDC46B

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

Color values

HEX#CDC46B
RGBrgb(205, 196, 107)
HSLhsl(54, 49%, 61%)
HSVhsv(54, 48%, 80%)
CMYKcmyk(0%, 4.4%, 47.8%, 19.6%)
CIE-LABlab(78.18, -8.97, 45.50)
CIE-LCHlch(78.18, 46.38, 101.16°)
OKLaboklab(80.88% -0.026 0.1085)
OKLCHoklch(80.88% 0.112 103.5)
XYZxyz(47.5718, 53.5220, 21.7319)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC46B #6B74CD
analogous
#CD936B #CDC46B #A5CD6B
triadic
#CDC46B #6BCDC4 #C46BCD
tetradic
#CDC46B #6BCD93 #6B74CD #CD6BA5
square
#CDC46B #6BCD93 #6B74CD #CD6BA5
split-complementary
#CDC46B #6BA5CD #936BCD
monochromatic
#8E8530 #BBB03F #CDC46B #DCD699 #ECE8C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC46B#FFFFFF#000000##000000
##CDC46B1.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)
#D2BF63
Deuteranopia (green-blind)
#D5C46F
Tritanopia (blue-blind)
#DAB9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc46b;
/* rgb */ color: rgb(205, 196, 107);
/* oklch */ color: oklch(80.9% 0.112 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded597',
    500: '#cdc46b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc46b;
$custom-light: #ded597;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc46b",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 107
  },
  "hsl": {
    "h": 54.49,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.1116,
    "h": 103.5
  },
  "luminance": 0.53521
}

Semantic roles & 50–950 ramp

primary
#CDC46B
secondary
#484F94
accent
#36BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC46B

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

Preview Lab → · Contrast checker → · Palette generator →

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