#CDBA71#CDBA71

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

Color values

HEX#CDBA71
RGBrgb(205, 186, 113)
HSLhsl(48, 48%, 62%)
HSVhsv(48, 45%, 80%)
CMYKcmyk(0%, 9.3%, 44.9%, 19.6%)
CIE-LABlab(75.63, -3.21, 39.35)
CIE-LCHlch(75.63, 39.48, 94.66°)
OKLaboklab(78.89% -0.0087 0.0952)
OKLCHoklch(78.89% 0.096 95.2)
XYZxyz(45.7176, 49.2909, 22.7255)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA71 #7184CD
analogous
#CD8C71 #CDBA71 #B2CD71
triadic
#CDBA71 #71CDBA #BA71CD
tetradic
#CDBA71 #71CD8C #7184CD #CD71B2
square
#CDBA71 #71CD8C #7184CD #CD71B2
split-complementary
#CDBA71 #71B2CD #8C71CD
monochromatic
#917D33 #BDA444 #CDBA71 #DDD09E #EDE6CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA71#FFFFFF#000000##000000
##CDBA711.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)
#C8B76B
Deuteranopia (green-blind)
#CDBD74
Tritanopia (blue-blind)
#DAB0A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba71;
/* rgb */ color: rgb(205, 186, 113);
/* oklch */ color: oklch(78.9% 0.096 95.2);
Tailwind
colors: {
  custom: {
    50: '#dece9b',
    500: '#cdba71',
    950: '#000000',
  },
}
SCSS
$custom: #cdba71;
$custom-light: #dece9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba71",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 113
  },
  "hsl": {
    "h": 47.609,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.78886,
    "c": 0.09564,
    "h": 95.2
  },
  "luminance": 0.49289
}

Semantic roles & 50–950 ramp

primary
#CDBA71
secondary
#BCC3DE
accent
#48BB2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDBA71

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

Preview Lab → · Contrast checker → · Palette generator →

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