#D4CB47#D4CB47

#D4CB47 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.149 H 105.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D4CB47
RGBrgb(212, 203, 71)
HSLhsl(56, 62%, 55%)
HSVhsv(56, 67%, 83%)
CMYKcmyk(0%, 4.2%, 66.5%, 16.9%)
CIE-LABlab(80.27, -12.29, 64.14)
CIE-LCHlch(80.27, 65.31, 100.85°)
OKLaboklab(82.57% -0.0397 0.1441)
OKLCHoklch(82.57% 0.149 105.4)
XYZxyz(49.6465, 57.1656, 14.3789)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB47 #4750D4
analogous
#D48447 #D4CB47 #97D447
triadic
#D4CB47 #47D4CB #CB47D4
tetradic
#D4CB47 #47D484 #4750D4 #D44797
square
#D4CB47 #47D484 #4750D4 #D44797
split-complementary
#D4CB47 #4797D4 #8447D4
monochromatic
#827C1E #B4AB2A #D4CB47 #E0D979 #EBE7AA

Accessibility & contrast

On white

1.69
#D4CB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D4CB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB47
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB47#FFFFFF#000000##000000
##D4CB471.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC435
Deuteranopia (green-blind)
#DFCA4F
Tritanopia (blue-blind)
#E3BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb47;
/* rgb */ color: rgb(212, 203, 71);
/* oklch */ color: oklch(82.6% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e5da81',
    500: '#d4cb47',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb47;
$custom-light: #e5da81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb47",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 56.17,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82571,
    "c": 0.14947,
    "h": 105.4
  },
  "luminance": 0.57164
}

Semantic roles & 50–950 ramp

primary
#D4CB47
secondary
#363B89
accent
#4DE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4CB47

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

Preview Lab → · Contrast checker → · Palette generator →

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