#CDB059#CDB059

#CDB059 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.112 H 91.2°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CDB059
RGBrgb(205, 176, 89)
HSLhsl(45, 54%, 58%)
HSVhsv(45, 57%, 80%)
CMYKcmyk(0%, 14.1%, 56.6%, 19.6%)
CIE-LABlab(72.73, -0.09, 47.78)
CIE-LCHlch(72.73, 47.78, 90.11°)
OKLaboklab(76.5% -0.0023 0.1119)
OKLCHoklch(76.5% 0.112 91.2)
XYZxyz(42.5071, 44.7532, 15.8485)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB059 #5976CD
analogous
#CD7659 #CDB059 #B0CD59
triadic
#CDB059 #59CDB0 #B059CD
tetradic
#CDB059 #59CD76 #5976CD #CD59B0
square
#CDB059 #59CD76 #5976CD #CD59B0
split-complementary
#CDB059 #59B0CD #7659CD
monochromatic
#846D28 #B39436 #CDB059 #DBC688 #E9DDB7

Accessibility & contrast

On white

2.11
#CDB059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CDB059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB059
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB059#FFFFFF#000000##000000
##CDB0591.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE51
Deuteranopia (green-blind)
#C8B65C
Tritanopia (blue-blind)
#DCA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb059;
/* rgb */ color: rgb(205, 176, 89);
/* oklch */ color: oklch(76.5% 0.112 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc78a',
    500: '#cdb059',
    950: '#000000',
  },
}
SCSS
$custom: #cdb059;
$custom-light: #dfc78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb059",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 45,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76496,
    "c": 0.11187,
    "h": 91.2
  },
  "luminance": 0.44751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB059

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

Preview Lab → · Contrast checker → · Palette generator →

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