#CDB259#CDB259

#CDB259 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.113 H 92.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CDB259
RGBrgb(205, 178, 89)
HSLhsl(46, 54%, 58%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.2%, 56.6%, 19.6%)
CIE-LABlab(73.25, -1.14, 48.38)
CIE-LCHlch(73.25, 48.39, 91.36°)
OKLaboklab(76.91% -0.0054 0.1132)
OKLCHoklch(76.91% 0.113 92.7)
XYZxyz(42.9022, 45.5433, 15.9802)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB259 #5974CD
analogous
#CD7859 #CDB259 #AECD59
triadic
#CDB259 #59CDB2 #B259CD
tetradic
#CDB259 #59CD78 #5974CD #CD59AE
square
#CDB259 #59CD78 #5974CD #CD59AE
split-complementary
#CDB259 #59AECD #7859CD
monochromatic
#846E28 #B39636 #CDB259 #DBC888 #E9DEB7

Accessibility & contrast

On white

2.08
#CDB259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CDB259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB259
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB259#FFFFFF#000000##000000
##CDB2591.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF51
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb259;
/* rgb */ color: rgb(205, 178, 89);
/* oklch */ color: oklch(76.9% 0.113 92.7);
Tailwind
colors: {
  custom: {
    50: '#dfc88a',
    500: '#cdb259',
    950: '#000000',
  },
}
SCSS
$custom: #cdb259;
$custom-light: #dfc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb259",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 89
  },
  "hsl": {
    "h": 46.034,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.11329,
    "h": 92.7
  },
  "luminance": 0.45541
}

Semantic roles & 50–950 ramp

primary
#CDB259
secondary
#AAB4D8
accent
#6DDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB259

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

Preview Lab → · Contrast checker → · Palette generator →

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