#CDBA7D#CDBA7D

#CDBA7D is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.082 H 92.8°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CDBA7D
RGBrgb(205, 186, 125)
HSLhsl(46, 44%, 65%)
HSVhsv(46, 39%, 80%)
CMYKcmyk(0%, 9.3%, 39%, 19.6%)
CIE-LABlab(75.81, -1.93, 33.39)
CIE-LCHlch(75.81, 33.45, 93.30°)
OKLaboklab(79.09% -0.004 0.0822)
OKLCHoklch(79.09% 0.082 92.8)
XYZxyz(46.4384, 49.5792, 26.5216)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA7D #7D90CD
analogous
#CD927D #CDBA7D #B8CD7D
triadic
#CDBA7D #7DCDBA #BA7DCD
tetradic
#CDBA7D #7DCD92 #7D90CD #CD7DB8
square
#CDBA7D #7DCD92 #7D90CD #CD7DB8
split-complementary
#CDBA7D #7DB8CD #927DCD
monochromatic
#96803A #BCA351 #CDBA7D #DED1A9 #EFE9D5

Accessibility & contrast

On white

1.92
#CDBA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CDBA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA7D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA7D#FFFFFF#000000##000000
##CDBA7D1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#CBBD7F
Tritanopia (blue-blind)
#D9B1AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba7d;
/* rgb */ color: rgb(205, 186, 125);
/* oklch */ color: oklch(79.1% 0.082 92.8);
Tailwind
colors: {
  custom: {
    50: '#ddcea3',
    500: '#cdba7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdba7d;
$custom-light: #ddcea3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba7d",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 125
  },
  "hsl": {
    "h": 45.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.79085,
    "c": 0.08233,
    "h": 92.8
  },
  "luminance": 0.49578
}

Semantic roles & 50–950 ramp

primary
#CDBA7D
secondary
#C5CCE1
accent
#4FB82E
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDBA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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