#D4B646#D4B646

#D4B646 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.133 H 94.0°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D4B646
RGBrgb(212, 182, 70)
HSLhsl(47, 62%, 55%)
HSVhsv(47, 67%, 83%)
CMYKcmyk(0%, 14.2%, 67%, 16.9%)
CIE-LABlab(74.76, -1.55, 58.84)
CIE-LCHlch(74.76, 58.87, 91.51°)
OKLaboklab(78.2% -0.0092 0.1327)
OKLCHoklch(78.2% 0.133 94)
XYZxyz(44.9870, 47.8976, 12.6687)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B646 #4664D4
analogous
#D46F46 #D4B646 #ABD446
triadic
#D4B646 #46D4B6 #B646D4
tetradic
#D4B646 #46D46F #4664D4 #D446AB
square
#D4B646 #46D46F #4664D4 #D446AB
split-complementary
#D4B646 #46ABD4 #6F46D4
monochromatic
#816C1E #B3962A #D4B646 #E0CA78 #EBDDA9

Accessibility & contrast

On white

1.99
#D4B646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D4B646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B646
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B646#FFFFFF#000000##000000
##D4B6461.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B338
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#E5A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b646;
/* rgb */ color: rgb(212, 182, 70);
/* oklch */ color: oklch(78.2% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e5cb7f',
    500: '#d4b646',
    950: '#000000',
  },
}
SCSS
$custom: #d4b646;
$custom-light: #e5cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b646",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 47.324,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78196,
    "c": 0.13305,
    "h": 94
  },
  "luminance": 0.47895
}

Semantic roles & 50–950 ramp

primary
#D4B646
secondary
#9DAAD9
accent
#65E542
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B646

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

Preview Lab → · Contrast checker → · Palette generator →

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