#CDBA5A#CDBA5A

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

Color values

HEX#CDBA5A
RGBrgb(205, 186, 90)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 56%, 80%)
CMYKcmyk(0%, 9.3%, 56.1%, 19.6%)
CIE-LABlab(75.35, -5.26, 50.34)
CIE-LCHlch(75.35, 50.61, 95.96°)
OKLaboklab(78.57% -0.0171 0.1175)
OKLCHoklch(78.57% 0.119 98.3)
XYZxyz(44.5828, 48.8370, 16.7490)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA5A #5A6DCD
analogous
#CD805A #CDBA5A #A6CD5A
triadic
#CDBA5A #5ACDBA #BA5ACD
tetradic
#CDBA5A #5ACD80 #5A6DCD #CD5AA6
square
#CDBA5A #5ACD80 #5A6DCD #CD5AA6
split-complementary
#CDBA5A #5AA6CD #805ACD
monochromatic
#847528 #B39F36 #CDBA5A #DBCE89 #E9E1B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA5A#FFFFFF#000000##000000
##CDBA5A1.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)
#CAB651
Deuteranopia (green-blind)
#CFBD5E
Tritanopia (blue-blind)
#DBAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba5a;
/* rgb */ color: rgb(205, 186, 90);
/* oklch */ color: oklch(78.6% 0.119 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfce8b',
    500: '#cdba5a',
    950: '#000000',
  },
}
SCSS
$custom: #cdba5a;
$custom-light: #dfce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba5a",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 90
  },
  "hsl": {
    "h": 50.087,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78571,
    "c": 0.11874,
    "h": 98.3
  },
  "luminance": 0.48835
}

Semantic roles & 50–950 ramp

primary
#CDBA5A
secondary
#AAB2D8
accent
#63DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDBA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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