#D4B141#D4B141

#D4B141 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.133 H 91.3°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D4B141
RGBrgb(212, 177, 65)
HSLhsl(46, 63%, 54%)
HSVhsv(46, 69%, 83%)
CMYKcmyk(0%, 16.5%, 69.3%, 16.9%)
CIE-LABlab(73.43, 0.81, 59.55)
CIE-LCHlch(73.43, 59.56, 89.22°)
OKLaboklab(77.13% -0.0031 0.1334)
OKLCHoklch(77.13% 0.133 91.3)
XYZxyz(43.8300, 45.8255, 11.5366)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B141 #4164D4
analogous
#D46841 #D4B141 #AED441
triadic
#D4B141 #41D4B1 #B141D4
tetradic
#D4B141 #41D468 #4164D4 #D441AE
square
#D4B141 #41D468 #4164D4 #D441AE
split-complementary
#D4B141 #41AED4 #6841D4
monochromatic
#7E671D #B09028 #D4B141 #DFC573 #EBDAA5

Accessibility & contrast

On white

2.07
#D4B141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#D4B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B141
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B141#FFFFFF#000000##000000
##D4B1411.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#E5A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b141;
/* rgb */ color: rgb(212, 177, 65);
/* oklch */ color: oklch(77.1% 0.133 91.3);
Tailwind
colors: {
  custom: {
    50: '#e5c87c',
    500: '#d4b141',
    950: '#000000',
  },
}
SCSS
$custom: #d4b141;
$custom-light: #e5c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b141",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 45.714,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77135,
    "c": 0.13343,
    "h": 91.3
  },
  "luminance": 0.45823
}

Semantic roles & 50–950 ramp

primary
#D4B141
secondary
#99A8D8
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B141

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

Preview Lab → · Contrast checker → · Palette generator →

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