#D4B146#D4B146

#D4B146 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.2% C 0.130 H 90.7°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#D4B146
RGBrgb(212, 177, 70)
HSLhsl(45, 62%, 55%)
HSVhsv(45, 67%, 83%)
CMYKcmyk(0%, 16.5%, 67%, 16.9%)
CIE-LABlab(73.47, 1.08, 57.49)
CIE-LCHlch(73.47, 57.50, 88.92°)
OKLaboklab(77.18% -0.0017 0.1299)
OKLCHoklch(77.18% 0.13 90.7)
XYZxyz(43.9813, 45.8861, 12.3335)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B146 #4669D4
analogous
#D46A46 #D4B146 #B0D446
triadic
#D4B146 #46D4B1 #B146D4
tetradic
#D4B146 #46D46A #4669D4 #D446B0
square
#D4B146 #46D46A #4669D4 #D446B0
split-complementary
#D4B146 #46B0D4 #6A46D4
monochromatic
#81691E #B3912A #D4B146 #E0C678 #EBDBA9

Accessibility & contrast

On white

2.06
#D4B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#D4B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B146
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B146#FFFFFF#000000##000000
##D4B1461.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#E5A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b146;
/* rgb */ color: rgb(212, 177, 70);
/* oklch */ color: oklch(77.2% 0.130 90.7);
Tailwind
colors: {
  custom: {
    50: '#e5c87f',
    500: '#d4b146',
    950: '#000000',
  },
}
SCSS
$custom: #d4b146;
$custom-light: #e5c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b146",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 45.211,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77178,
    "c": 0.12988,
    "h": 90.7
  },
  "luminance": 0.45884
}

Semantic roles & 50–950 ramp

primary
#D4B146
secondary
#9DACD9
accent
#6BE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B146

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

Preview Lab → · Contrast checker → · Palette generator →

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