#CDBA5E#CDBA5E

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

Color values

HEX#CDBA5E
RGBrgb(205, 186, 94)
HSLhsl(50, 53%, 59%)
HSVhsv(50, 54%, 80%)
CMYKcmyk(0%, 9.3%, 54.1%, 19.6%)
CIE-LABlab(75.39, -4.94, 48.48)
CIE-LCHlch(75.39, 48.73, 95.82°)
OKLaboklab(78.62% -0.0157 0.1139)
OKLCHoklch(78.62% 0.115 97.9)
XYZxyz(44.7577, 48.9069, 17.6699)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA5E #5E71CD
analogous
#CD825E #CDBA5E #A8CD5E
triadic
#CDBA5E #5ECDBA #BA5ECD
tetradic
#CDBA5E #5ECD82 #5E71CD #CD5EA8
square
#CDBA5E #5ECD82 #5E71CD #CD5EA8
split-complementary
#CDBA5E #5EA8CD #825ECD
monochromatic
#87772A #B5A038 #CDBA5E #DCCE8D #EAE2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA5E#FFFFFF#000000##000000
##CDBA5E1.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)
#C9B655
Deuteranopia (green-blind)
#CFBD62
Tritanopia (blue-blind)
#DBAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba5e;
/* rgb */ color: rgb(205, 186, 94);
/* oklch */ color: oklch(78.6% 0.115 97.9);
Tailwind
colors: {
  custom: {
    50: '#dfce8e',
    500: '#cdba5e',
    950: '#000000',
  },
}
SCSS
$custom: #cdba5e;
$custom-light: #dfce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba5e",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 49.73,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.7862,
    "c": 0.11499,
    "h": 97.9
  },
  "luminance": 0.48905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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