#CDBA6B#CDBA6B

#CDBA6B is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.102 H 96.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDBA6B
RGBrgb(205, 186, 107)
HSLhsl(48, 49%, 61%)
HSVhsv(48, 48%, 80%)
CMYKcmyk(0%, 9.3%, 47.8%, 19.6%)
CIE-LABlab(75.55, -3.79, 42.28)
CIE-LCHlch(75.55, 42.45, 95.13°)
OKLaboklab(78.8% -0.011 0.1014)
OKLCHoklch(78.8% 0.102 96.2)
XYZxyz(45.3909, 49.1602, 21.0050)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA6B #6B7ECD
analogous
#CD896B #CDBA6B #AFCD6B
triadic
#CDBA6B #6BCDBA #BA6BCD
tetradic
#CDBA6B #6BCD89 #6B7ECD #CD6BAF
square
#CDBA6B #6BCD89 #6B7ECD #CD6BAF
split-complementary
#CDBA6B #6BAFCD #896BCD
monochromatic
#8E7C30 #BBA33F #CDBA6B #DCCF99 #ECE5C6

Accessibility & contrast

On white

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

On black

10.83
#CDBA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA6B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA6B#FFFFFF#000000##000000
##CDBA6B1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B664
Deuteranopia (green-blind)
#CDBD6E
Tritanopia (blue-blind)
#DAAFA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba6b;
/* rgb */ color: rgb(205, 186, 107);
/* oklch */ color: oklch(78.8% 0.102 96.2);
Tailwind
colors: {
  custom: {
    50: '#dece97',
    500: '#cdba6b',
    950: '#000000',
  },
}
SCSS
$custom: #cdba6b;
$custom-light: #dece97;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba6b",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 107
  },
  "hsl": {
    "h": 48.367,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78796,
    "c": 0.10201,
    "h": 96.2
  },
  "luminance": 0.49158
}

Semantic roles & 50–950 ramp

primary
#CDBA6B
secondary
#B8BFDC
accent
#45BD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDBA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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