#CDBA6C#CDBA6C

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

Color values

HEX#CDBA6C
RGBrgb(205, 186, 108)
HSLhsl(48, 49%, 61%)
HSVhsv(48, 47%, 80%)
CMYKcmyk(0%, 9.3%, 47.3%, 19.6%)
CIE-LABlab(75.56, -3.70, 41.80)
CIE-LCHlch(75.56, 41.96, 95.06°)
OKLaboklab(78.81% -0.0106 0.1004)
OKLCHoklch(78.81% 0.101 96.1)
XYZxyz(45.4438, 49.1814, 21.2836)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA6C #6C7FCD
analogous
#CD8A6C #CDBA6C #B0CD6C
triadic
#CDBA6C #6CCDBA #BA6CCD
tetradic
#CDBA6C #6CCD8A #6C7FCD #CD6CB0
square
#CDBA6C #6CCD8A #6C7FCD #CD6CB0
split-complementary
#CDBA6C #6CB0CD #8A6CCD
monochromatic
#8E7C30 #BCA440 #CDBA6C #DDCF9A #ECE5C7

Accessibility & contrast

On white

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

On black

10.84
#CDBA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA6C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA6C#FFFFFF#000000##000000
##CDBA6C1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdba6c;
/* rgb */ color: rgb(205, 186, 108);
/* oklch */ color: oklch(78.8% 0.101 96.1);
Tailwind
colors: {
  custom: {
    50: '#dece97',
    500: '#cdba6c',
    950: '#000000',
  },
}
SCSS
$custom: #cdba6c;
$custom-light: #dece97;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba6c",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 108
  },
  "hsl": {
    "h": 48.247,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.7881,
    "c": 0.10095,
    "h": 96.1
  },
  "luminance": 0.4918
}

Semantic roles & 50–950 ramp

primary
#CDBA6C
secondary
#B8BFDD
accent
#46BD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDBA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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