#CDBA5C#CDBA5C

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

Color values

HEX#CDBA5C
RGBrgb(205, 186, 92)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 9.3%, 55.1%, 19.6%)
CIE-LABlab(75.37, -5.10, 49.41)
CIE-LCHlch(75.37, 49.68, 95.89°)
OKLaboklab(78.6% -0.0164 0.1157)
OKLCHoklch(78.6% 0.117 98.1)
XYZxyz(44.6691, 48.8715, 17.2034)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA5C #5C6FCD
analogous
#CD815C #CDBA5C #A7CD5C
triadic
#CDBA5C #5CCDBA #BA5CCD
tetradic
#CDBA5C #5CCD81 #5C6FCD #CD5CA7
square
#CDBA5C #5CCD81 #5C6FCD #CD5CA7
split-complementary
#CDBA5C #5CA7CD #815CCD
monochromatic
#867629 #B49F37 #CDBA5C #DBCE8B #EAE2BA

Accessibility & contrast

On white

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

On black

10.77
#CDBA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA5C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA5C#FFFFFF#000000##000000
##CDBA5C1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdba5c;
/* rgb */ color: rgb(205, 186, 92);
/* oklch */ color: oklch(78.6% 0.117 98.1);
Tailwind
colors: {
  custom: {
    50: '#dfce8d',
    500: '#cdba5c',
    950: '#000000',
  },
}
SCSS
$custom: #cdba5c;
$custom-light: #dfce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba5c",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 92
  },
  "hsl": {
    "h": 49.912,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78595,
    "c": 0.11688,
    "h": 98.1
  },
  "luminance": 0.4887
}

Semantic roles & 50–950 ramp

primary
#CDBA5C
secondary
#ACB3D9
accent
#64DC4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDBA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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