#CDBA7F#CDBA7F

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

Color values

HEX#CDBA7F
RGBrgb(205, 186, 127)
HSLhsl(45, 44%, 65%)
HSVhsv(45, 38%, 80%)
CMYKcmyk(0%, 9.3%, 38%, 19.6%)
CIE-LABlab(75.84, -1.70, 32.39)
CIE-LCHlch(75.84, 32.43, 93.00°)
OKLaboklab(79.12% -0.0032 0.08)
OKLCHoklch(79.12% 0.08 92.3)
XYZxyz(46.5675, 49.6308, 27.2013)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA7F #7F92CD
analogous
#CD937F #CDBA7F #B9CD7F
triadic
#CDBA7F #7FCDBA #BA7FCD
tetradic
#CDBA7F #7FCD93 #7F92CD #CD7FB9
square
#CDBA7F #7FCD93 #7F92CD #CD7FB9
split-complementary
#CDBA7F #7FB9CD #937FCD
monochromatic
#97803B #BCA253 #CDBA7F #DED2AB #EFE9D7

Accessibility & contrast

On white

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

On black

10.93
#CDBA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA7F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA7F#FFFFFF#000000##000000
##CDBA7F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdba7f;
/* rgb */ color: rgb(205, 186, 127);
/* oklch */ color: oklch(79.1% 0.080 92.3);
Tailwind
colors: {
  custom: {
    50: '#ddcea4',
    500: '#cdba7f',
    950: '#000000',
  },
}
SCSS
$custom: #cdba7f;
$custom-light: #ddcea4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba7f",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 127
  },
  "hsl": {
    "h": 45.385,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7912,
    "c": 0.08004,
    "h": 92.3
  },
  "luminance": 0.49629
}

Semantic roles & 50–950 ramp

primary
#CDBA7F
secondary
#C7CDE1
accent
#50B72F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDBA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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