#CDB559#CDB559

#CDB559 is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.116 H 94.9°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CDB559
RGBrgb(205, 181, 89)
HSLhsl(48, 54%, 58%)
HSVhsv(48, 57%, 80%)
CMYKcmyk(0%, 11.7%, 56.6%, 19.6%)
CIE-LABlab(74.03, -2.72, 49.29)
CIE-LCHlch(74.03, 49.36, 93.16°)
OKLaboklab(77.52% -0.0099 0.1151)
OKLCHoklch(77.52% 0.116 94.9)
XYZxyz(43.5056, 46.7501, 16.1813)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB559 #5971CD
analogous
#CD7B59 #CDB559 #ABCD59
triadic
#CDB559 #59CDB5 #B559CD
tetradic
#CDB559 #59CD7B #5971CD #CD59AB
square
#CDB559 #59CD7B #5971CD #CD59AB
split-complementary
#CDB559 #59ABCD #7B59CD
monochromatic
#847128 #B39936 #CDB559 #DBCA88 #E9DFB7

Accessibility & contrast

On white

2.03
#CDB559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CDB559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB559
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB559#FFFFFF#000000##000000
##CDB5591.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B250
Deuteranopia (green-blind)
#CBB95D
Tritanopia (blue-blind)
#DCA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb559;
/* rgb */ color: rgb(205, 181, 89);
/* oklch */ color: oklch(77.5% 0.116 94.9);
Tailwind
colors: {
  custom: {
    50: '#dfca8b',
    500: '#cdb559',
    950: '#000000',
  },
}
SCSS
$custom: #cdb559;
$custom-light: #dfca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb559",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 89
  },
  "hsl": {
    "h": 47.586,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77523,
    "c": 0.11555,
    "h": 94.9
  },
  "luminance": 0.46748
}

Semantic roles & 50–950 ramp

primary
#CDB559
secondary
#AAB3D8
accent
#69DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB559

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

Preview Lab → · Contrast checker → · Palette generator →

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