#D4CB56#D4CB56

#D4CB56 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.138 H 104.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D4CB56
RGBrgb(212, 203, 86)
HSLhsl(56, 59%, 58%)
HSVhsv(56, 59%, 83%)
CMYKcmyk(0%, 4.2%, 59.4%, 16.9%)
CIE-LABlab(80.39, -11.36, 58.01)
CIE-LCHlch(80.39, 59.11, 101.08°)
OKLaboklab(82.71% -0.0355 0.1333)
OKLCHoklch(82.71% 0.138 104.9)
XYZxyz(50.1887, 57.3825, 17.2345)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB56 #565FD4
analogous
#D48C56 #D4CB56 #9ED456
triadic
#D4CB56 #56D4CB #CB56D4
tetradic
#D4CB56 #56D48C #565FD4 #D4569E
square
#D4CB56 #56D48C #565FD4 #D4569E
split-complementary
#D4CB56 #569ED4 #8C56D4
monochromatic
#8C8524 #BDB330 #D4CB56 #E0DA87 #EDE9B8

Accessibility & contrast

On white

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

On black

12.48
#D4CB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB56
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB56#FFFFFF#000000##000000
##D4CB561.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cb56;
/* rgb */ color: rgb(212, 203, 86);
/* oklch */ color: oklch(82.7% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e4da8a',
    500: '#d4cb56',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb56;
$custom-light: #e4da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb56",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 55.714,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.13794,
    "h": 104.9
  },
  "luminance": 0.57381
}

Semantic roles & 50–950 ramp

primary
#D4CB56
secondary
#3C4292
accent
#50E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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