#CDBA81#CDBA81

#CDBA81 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.078 H 91.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CDBA81
RGBrgb(205, 186, 129)
HSLhsl(45, 43%, 65%)
HSVhsv(45, 37%, 80%)
CMYKcmyk(0%, 9.3%, 37.1%, 19.6%)
CIE-LABlab(75.87, -1.47, 31.38)
CIE-LCHlch(75.87, 31.42, 92.68°)
OKLaboklab(79.16% -0.0024 0.0777)
OKLCHoklch(79.16% 0.078 91.8)
XYZxyz(46.6991, 49.6835, 27.8946)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA81 #8194CD
analogous
#CD9481 #CDBA81 #BACD81
triadic
#CDBA81 #81CDBA #BA81CD
tetradic
#CDBA81 #81CD94 #8194CD #CD81BA
square
#CDBA81 #81CD94 #8194CD #CD81BA
split-complementary
#CDBA81 #81BACD #9481CD
monochromatic
#97813C #BCA255 #CDBA81 #DED2AD #F0EAD9

Accessibility & contrast

On white

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

On black

10.94
#CDBA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA81
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA81#FFFFFF#000000##000000
##CDBA811.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B87D
Deuteranopia (green-blind)
#CBBD83
Tritanopia (blue-blind)
#D8B1AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba81;
/* rgb */ color: rgb(205, 186, 129);
/* oklch */ color: oklch(79.2% 0.078 91.8);
Tailwind
colors: {
  custom: {
    50: '#ddcea6',
    500: '#cdba81',
    950: '#000000',
  },
}
SCSS
$custom: #cdba81;
$custom-light: #ddcea6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba81",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 129
  },
  "hsl": {
    "h": 45,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79157,
    "c": 0.07775,
    "h": 91.8
  },
  "luminance": 0.49682
}

Semantic roles & 50–950 ramp

primary
#CDBA81
secondary
#C8CFE2
accent
#51B62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDBA81

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

Preview Lab → · Contrast checker → · Palette generator →

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