#CDBA59#CDBA59

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

Color values

HEX#CDBA59
RGBrgb(205, 186, 89)
HSLhsl(50, 54%, 58%)
HSVhsv(50, 57%, 80%)
CMYKcmyk(0%, 9.3%, 56.6%, 19.6%)
CIE-LABlab(75.34, -5.34, 50.80)
CIE-LCHlch(75.34, 51.08, 96.00°)
OKLaboklab(78.56% -0.0175 0.1184)
OKLCHoklch(78.56% 0.12 98.4)
XYZxyz(44.5406, 48.8201, 16.5263)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA59 #596CCD
analogous
#CD8059 #CDBA59 #A6CD59
triadic
#CDBA59 #59CDBA #BA59CD
tetradic
#CDBA59 #59CD80 #596CCD #CD59A6
square
#CDBA59 #59CD80 #596CCD #CD59A6
split-complementary
#CDBA59 #59A6CD #8059CD
monochromatic
#847528 #B39E36 #CDBA59 #DBCE88 #E9E1B7

Accessibility & contrast

On white

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

On black

10.76
#CDBA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA59
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA59#FFFFFF#000000##000000
##CDBA591.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64F
Deuteranopia (green-blind)
#CFBD5D
Tritanopia (blue-blind)
#DBAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba59;
/* rgb */ color: rgb(205, 186, 89);
/* oklch */ color: oklch(78.6% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfce8b',
    500: '#cdba59',
    950: '#000000',
  },
}
SCSS
$custom: #cdba59;
$custom-light: #dfce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba59",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 50.172,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7856,
    "c": 0.11966,
    "h": 98.4
  },
  "luminance": 0.48818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBA59

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

Preview Lab → · Contrast checker → · Palette generator →

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