#CDBA72#CDBA72

#CDBA72 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.095 H 95.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CDBA72
RGBrgb(205, 186, 114)
HSLhsl(47, 48%, 63%)
HSVhsv(47, 44%, 80%)
CMYKcmyk(0%, 9.3%, 44.4%, 19.6%)
CIE-LABlab(75.65, -3.11, 38.86)
CIE-LCHlch(75.65, 38.98, 94.57°)
OKLaboklab(78.9% -0.0083 0.0942)
OKLCHoklch(78.9% 0.095 95.1)
XYZxyz(45.7742, 49.3135, 23.0236)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA72 #7285CD
analogous
#CD8D72 #CDBA72 #B2CD72
triadic
#CDBA72 #72CDBA #BA72CD
tetradic
#CDBA72 #72CD8D #7285CD #CD72B2
square
#CDBA72 #72CD8D #7285CD #CD72B2
split-complementary
#CDBA72 #72B2CD #8D72CD
monochromatic
#917E33 #BDA445 #CDBA72 #DDD09F #EDE6CC

Accessibility & contrast

On white

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

On black

10.86
#CDBA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA72
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA72#FFFFFF#000000##000000
##CDBA721.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76C
Deuteranopia (green-blind)
#CDBD75
Tritanopia (blue-blind)
#DAB0A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba72;
/* rgb */ color: rgb(205, 186, 114);
/* oklch */ color: oklch(78.9% 0.095 95.1);
Tailwind
colors: {
  custom: {
    50: '#dece9b',
    500: '#cdba72',
    950: '#000000',
  },
}
SCSS
$custom: #cdba72;
$custom-light: #dece9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba72",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 114
  },
  "hsl": {
    "h": 47.473,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.78902,
    "c": 0.09456,
    "h": 95.1
  },
  "luminance": 0.49312
}

Semantic roles & 50–950 ramp

primary
#CDBA72
secondary
#BDC4DE
accent
#49BB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDBA72

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

Preview Lab → · Contrast checker → · Palette generator →

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