#D4CB57#D4CB57

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

Color values

HEX#D4CB57
RGBrgb(212, 203, 87)
HSLhsl(56, 59%, 59%)
HSVhsv(56, 59%, 83%)
CMYKcmyk(0%, 4.2%, 59%, 16.9%)
CIE-LABlab(80.40, -11.29, 57.58)
CIE-LCHlch(80.40, 58.68, 101.09°)
OKLaboklab(82.72% -0.0351 0.1325)
OKLCHoklch(82.72% 0.137 104.9)
XYZxyz(50.2293, 57.3987, 17.4482)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB57 #5760D4
analogous
#D48C57 #D4CB57 #9ED457
triadic
#D4CB57 #57D4CB #CB57D4
tetradic
#D4CB57 #57D48C #5760D4 #D4579E
square
#D4CB57 #57D48C #5760D4 #D4579E
split-complementary
#D4CB57 #579ED4 #8C57D4
monochromatic
#8D8524 #BDB330 #D4CB57 #E0DA88 #EDE9B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CB57#FFFFFF#000000##000000
##D4CB571.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)
#DBC44A
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#E2BFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb57;
/* rgb */ color: rgb(212, 203, 87);
/* oklch */ color: oklch(82.7% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#e4da8b',
    500: '#d4cb57',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb57;
$custom-light: #e4da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb57",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 55.68,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82717,
    "c": 0.13709,
    "h": 104.9
  },
  "luminance": 0.57397
}

Semantic roles & 50–950 ramp

primary
#D4CB57
secondary
#3D4393
accent
#51E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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