#CDB159#CDB159

#CDB159 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.113 H 91.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CDB159
RGBrgb(205, 177, 89)
HSLhsl(46, 54%, 58%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.7%, 56.6%, 19.6%)
CIE-LABlab(72.99, -0.62, 48.08)
CIE-LCHlch(72.99, 48.08, 90.74°)
OKLaboklab(76.7% -0.0038 0.1125)
OKLCHoklch(76.7% 0.113 91.9)
XYZxyz(42.7039, 45.1468, 15.9141)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB159 #5975CD
analogous
#CD7759 #CDB159 #AFCD59
triadic
#CDB159 #59CDB1 #B159CD
tetradic
#CDB159 #59CD77 #5975CD #CD59AF
square
#CDB159 #59CD77 #5975CD #CD59AF
split-complementary
#CDB159 #59AFCD #7759CD
monochromatic
#846E28 #B39536 #CDB159 #DBC788 #E9DDB7

Accessibility & contrast

On white

2.09
#CDB159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CDB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB159
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB159#FFFFFF#000000##000000
##CDB1591.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C8B75D
Tritanopia (blue-blind)
#DCA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb159;
/* rgb */ color: rgb(205, 177, 89);
/* oklch */ color: oklch(76.7% 0.113 91.9);
Tailwind
colors: {
  custom: {
    50: '#dfc88a',
    500: '#cdb159',
    950: '#000000',
  },
}
SCSS
$custom: #cdb159;
$custom-light: #dfc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb159",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 45.517,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76701,
    "c": 0.11257,
    "h": 91.9
  },
  "luminance": 0.45145
}

Semantic roles & 50–950 ramp

primary
#CDB159
secondary
#AAB5D8
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB159

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

Preview Lab → · Contrast checker → · Palette generator →

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