#D4CB5E#D4CB5E

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

Color values

HEX#D4CB5E
RGBrgb(212, 203, 94)
HSLhsl(55, 58%, 60%)
HSVhsv(55, 56%, 83%)
CMYKcmyk(0%, 4.2%, 55.7%, 16.9%)
CIE-LABlab(80.47, -10.77, 54.51)
CIE-LCHlch(80.47, 55.57, 101.18°)
OKLaboklab(82.79% -0.0329 0.1268)
OKLCHoklch(82.79% 0.131 104.6)
XYZxyz(50.5293, 57.5187, 19.0280)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB5E #5E67D4
analogous
#D4905E #D4CB5E #A2D45E
triadic
#D4CB5E #5ED4CB #CB5ED4
tetradic
#D4CB5E #5ED490 #5E67D4 #D45EA2
square
#D4CB5E #5ED490 #5E67D4 #D45EA2
split-complementary
#D4CB5E #5EA2D4 #905ED4
monochromatic
#918927 #C1B634 #D4CB5E #E1DB8E #EEEABF

Accessibility & contrast

On white

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

On black

12.50
#D4CB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB5E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB5E#FFFFFF#000000##000000
##D4CB5E1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC553
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#E2BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cb5e;
/* rgb */ color: rgb(212, 203, 94);
/* oklch */ color: oklch(82.8% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4da8f',
    500: '#d4cb5e',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb5e;
$custom-light: #e4da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb5e",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 94
  },
  "hsl": {
    "h": 55.424,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.82792,
    "c": 0.13099,
    "h": 104.6
  },
  "luminance": 0.57517
}

Semantic roles & 50–950 ramp

primary
#D4CB5E
secondary
#404696
accent
#52E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4CB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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