#D5CB56#D5CB56

#D5CB56 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.138 H 104.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D5CB56
RGBrgb(213, 203, 86)
HSLhsl(55, 60%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 4.7%, 59.6%, 16.5%)
CIE-LABlab(80.48, -10.94, 58.13)
CIE-LCHlch(80.48, 59.15, 100.66°)
OKLaboklab(82.79% -0.0343 0.1335)
OKLCHoklch(82.79% 0.138 104.4)
XYZxyz(50.4780, 57.5317, 17.2481)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB56 #5660D5
analogous
#D58B56 #D5CB56 #9FD556
triadic
#D5CB56 #56D5CB #CB56D5
tetradic
#D5CB56 #56D58B #5660D5 #D5569F
square
#D5CB56 #56D58B #5660D5 #D5569F
split-complementary
#D5CB56 #569FD5 #8B56D5
monochromatic
#8D8523 #BEB32F #D5CB56 #E1DA87 #EDE9B8

Accessibility & contrast

On white

1.68
#D5CB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D5CB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB56
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB56#FFFFFF#000000##000000
##D5CB561.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#E4BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb56;
/* rgb */ color: rgb(213, 203, 86);
/* oklch */ color: oklch(82.8% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#e5da8a',
    500: '#d5cb56',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb56;
$custom-light: #e5da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb56",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 55.276,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82793,
    "c": 0.13787,
    "h": 104.4
  },
  "luminance": 0.5753
}

Semantic roles & 50–950 ramp

primary
#D5CB56
secondary
#3C4393
accent
#51E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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