#CDBA7B#CDBA7B

#CDBA7B is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.085 H 93.3°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CDBA7B
RGBrgb(205, 186, 123)
HSLhsl(46, 45%, 64%)
HSVhsv(46, 40%, 80%)
CMYKcmyk(0%, 9.3%, 40%, 19.6%)
CIE-LABlab(75.78, -2.15, 34.39)
CIE-LCHlch(75.78, 34.46, 93.58°)
OKLaboklab(79.05% -0.0048 0.0845)
OKLCHoklch(79.05% 0.085 93.3)
XYZxyz(46.3119, 49.5286, 25.8555)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA7B #7B8ECD
analogous
#CD917B #CDBA7B #B7CD7B
triadic
#CDBA7B #7BCDBA #BA7BCD
tetradic
#CDBA7B #7BCD91 #7B8ECD #CD7BB7
square
#CDBA7B #7BCD91 #7B8ECD #CD7BB7
split-complementary
#CDBA7B #7BB7CD #917BCD
monochromatic
#958038 #BCA34F #CDBA7B #DED1A7 #EFE8D4

Accessibility & contrast

On white

1.93
#CDBA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CDBA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA7B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA7B#FFFFFF#000000##000000
##CDBA7B1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B776
Deuteranopia (green-blind)
#CCBD7D
Tritanopia (blue-blind)
#D9B1AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba7b;
/* rgb */ color: rgb(205, 186, 123);
/* oklch */ color: oklch(79.0% 0.085 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddcea2',
    500: '#cdba7b',
    950: '#000000',
  },
}
SCSS
$custom: #cdba7b;
$custom-light: #ddcea2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba7b",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 123
  },
  "hsl": {
    "h": 46.098,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7905,
    "c": 0.08459,
    "h": 93.3
  },
  "luminance": 0.49527
}

Semantic roles & 50–950 ramp

primary
#CDBA7B
secondary
#C4CAE0
accent
#4DB82D
background
#FDFCFA
surface
#FBF9F3
border
#D4D2CD
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDBA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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