#CDBA5D#CDBA5D

#CDBA5D is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.116 H 98.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CDBA5D
RGBrgb(205, 186, 93)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 9.3%, 54.6%, 19.6%)
CIE-LABlab(75.38, -5.02, 48.95)
CIE-LCHlch(75.38, 49.21, 95.86°)
OKLaboklab(78.61% -0.0161 0.1148)
OKLCHoklch(78.61% 0.116 98)
XYZxyz(44.7131, 48.8891, 17.4351)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA5D #5D70CD
analogous
#CD825D #CDBA5D #A8CD5D
triadic
#CDBA5D #5DCDBA #BA5DCD
tetradic
#CDBA5D #5DCD82 #5D70CD #CD5DA8
square
#CDBA5D #5DCD82 #5D70CD #CD5DA8
split-complementary
#CDBA5D #5DA8CD #825DCD
monochromatic
#867629 #B5A038 #CDBA5D #DBCE8C #EAE2BB

Accessibility & contrast

On white

1.95
#CDBA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CDBA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA5D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA5D#FFFFFF#000000##000000
##CDBA5D1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB654
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#DBAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba5d;
/* rgb */ color: rgb(205, 186, 93);
/* oklch */ color: oklch(78.6% 0.116 98.0);
Tailwind
colors: {
  custom: {
    50: '#dfce8d',
    500: '#cdba5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdba5d;
$custom-light: #dfce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba5d",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 49.821,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78608,
    "c": 0.11594,
    "h": 98
  },
  "luminance": 0.48887
}

Semantic roles & 50–950 ramp

primary
#CDBA5D
secondary
#ADB4D9
accent
#64DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDBA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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