#D4B246#D4B246

#D4B246 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.130 H 91.4°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D4B246
RGBrgb(212, 178, 70)
HSLhsl(46, 62%, 55%)
HSVhsv(46, 67%, 83%)
CMYKcmyk(0%, 16%, 67%, 16.9%)
CIE-LABlab(73.73, 0.55, 57.76)
CIE-LCHlch(73.73, 57.76, 89.45°)
OKLaboklab(77.38% -0.0032 0.1304)
OKLCHoklch(77.38% 0.13 91.4)
XYZxyz(44.1795, 46.2826, 12.3996)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B246 #4668D4
analogous
#D46B46 #D4B246 #AFD446
triadic
#D4B246 #46D4B2 #B246D4
tetradic
#D4B246 #46D46B #4668D4 #D446AF
square
#D4B246 #46D46B #4668D4 #D446AF
split-complementary
#D4B246 #46AFD4 #6B46D4
monochromatic
#816A1E #B3922A #D4B246 #E0C778 #EBDBA9

Accessibility & contrast

On white

2.05
#D4B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D4B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B246
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B246#FFFFFF#000000##000000
##D4B2461.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B039
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#E5A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4b246;
/* rgb */ color: rgb(212, 178, 70);
/* oklch */ color: oklch(77.4% 0.130 91.4);
Tailwind
colors: {
  custom: {
    50: '#e5c87f',
    500: '#d4b246',
    950: '#000000',
  },
}
SCSS
$custom: #d4b246;
$custom-light: #e5c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b246",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 45.634,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77381,
    "c": 0.13048,
    "h": 91.4
  },
  "luminance": 0.4628
}

Semantic roles & 50–950 ramp

primary
#D4B246
secondary
#9DABD9
accent
#69E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B246

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

Preview Lab → · Contrast checker → · Palette generator →

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