#CDBA7E#CDBA7E

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

Color values

HEX#CDBA7E
RGBrgb(205, 186, 126)
HSLhsl(46, 44%, 65%)
HSVhsv(46, 39%, 80%)
CMYKcmyk(0%, 9.3%, 38.5%, 19.6%)
CIE-LABlab(75.83, -1.81, 32.89)
CIE-LCHlch(75.83, 32.94, 93.16°)
OKLaboklab(79.1% -0.0036 0.0811)
OKLCHoklch(79.1% 0.081 92.6)
XYZxyz(46.5026, 49.6049, 26.8597)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA7E #7E91CD
analogous
#CD937E #CDBA7E #B8CD7E
triadic
#CDBA7E #7ECDBA #BA7ECD
tetradic
#CDBA7E #7ECD93 #7E91CD #CD7EB8
square
#CDBA7E #7ECD93 #7E91CD #CD7EB8
split-complementary
#CDBA7E #7EB8CD #937ECD
monochromatic
#96803A #BCA252 #CDBA7E #DED2AA #EFE9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA7E#FFFFFF#000000##000000
##CDBA7E1.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)
#C6B87A
Deuteranopia (green-blind)
#CBBD80
Tritanopia (blue-blind)
#D9B1AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba7e;
/* rgb */ color: rgb(205, 186, 126);
/* oklch */ color: oklch(79.1% 0.081 92.6);
Tailwind
colors: {
  custom: {
    50: '#ddcea4',
    500: '#cdba7e',
    950: '#000000',
  },
}
SCSS
$custom: #cdba7e;
$custom-light: #ddcea4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba7e",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 126
  },
  "hsl": {
    "h": 45.57,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.79103,
    "c": 0.08119,
    "h": 92.6
  },
  "luminance": 0.49603
}

Semantic roles & 50–950 ramp

primary
#CDBA7E
secondary
#C6CCE1
accent
#4FB72E
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDBA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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