#CDBA66#CDBA66

#CDBA66 is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.107 H 96.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CDBA66
RGBrgb(205, 186, 102)
HSLhsl(49, 51%, 60%)
HSVhsv(49, 50%, 80%)
CMYKcmyk(0%, 9.3%, 50.2%, 19.6%)
CIE-LABlab(75.49, -4.25, 44.70)
CIE-LCHlch(75.49, 44.90, 95.44°)
OKLaboklab(78.72% -0.0129 0.1064)
OKLCHoklch(78.72% 0.107 96.9)
XYZxyz(45.1355, 49.0580, 19.6594)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA66 #6679CD
analogous
#CD8666 #CDBA66 #ACCD66
triadic
#CDBA66 #66CDBA #BA66CD
tetradic
#CDBA66 #66CD86 #6679CD #CD66AC
square
#CDBA66 #66CD86 #6679CD #CD66AC
split-complementary
#CDBA66 #66ACCD #8666CD
monochromatic
#8B7A2D #B9A23D #CDBA66 #DCCF94 #EBE4C2

Accessibility & contrast

On white

1.94
#CDBA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CDBA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA66
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA66#FFFFFF#000000##000000
##CDBA661.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65F
Deuteranopia (green-blind)
#CEBD69
Tritanopia (blue-blind)
#DBAFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba66;
/* rgb */ color: rgb(205, 186, 102);
/* oklch */ color: oklch(78.7% 0.107 96.9);
Tailwind
colors: {
  custom: {
    50: '#dece93',
    500: '#cdba66',
    950: '#000000',
  },
}
SCSS
$custom: #cdba66;
$custom-light: #dece93;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba66",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 102
  },
  "hsl": {
    "h": 48.932,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78725,
    "c": 0.10714,
    "h": 96.9
  },
  "luminance": 0.49056
}

Semantic roles & 50–950 ramp

primary
#CDBA66
secondary
#B4BBDB
accent
#43BE27
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDBA66

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

Preview Lab → · Contrast checker → · Palette generator →

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