#CDBA5F#CDBA5F

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

Color values

HEX#CDBA5F
RGBrgb(205, 186, 95)
HSLhsl(50, 52%, 59%)
HSVhsv(50, 54%, 80%)
CMYKcmyk(0%, 9.3%, 53.7%, 19.6%)
CIE-LABlab(75.40, -4.86, 48.02)
CIE-LCHlch(75.40, 48.26, 95.78°)
OKLaboklab(78.63% -0.0154 0.113)
OKLCHoklch(78.63% 0.114 97.8)
XYZxyz(44.8029, 48.9250, 17.9077)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA5F #5F72CD
analogous
#CD835F #CDBA5F #A9CD5F
triadic
#CDBA5F #5FCDBA #BA5FCD
tetradic
#CDBA5F #5FCD83 #5F72CD #CD5FA9
square
#CDBA5F #5FCD83 #5F72CD #CD5FA9
split-complementary
#CDBA5F #5FA9CD #835FCD
monochromatic
#87772A #B6A039 #CDBA5F #DCCE8E #EAE2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA5F#FFFFFF#000000##000000
##CDBA5F1.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)
#C9B657
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#DBAFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba5f;
/* rgb */ color: rgb(205, 186, 95);
/* oklch */ color: oklch(78.6% 0.114 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfce8f',
    500: '#cdba5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdba5f;
$custom-light: #dfce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba5f",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 49.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78632,
    "c": 0.11403,
    "h": 97.8
  },
  "luminance": 0.48923
}

Semantic roles & 50–950 ramp

primary
#CDBA5F
secondary
#AEB6DA
accent
#65DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDBA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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