#D4B741#D4B741

#D4B741 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.4% C 0.137 H 95.1°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#D4B741
RGBrgb(212, 183, 65)
HSLhsl(48, 63%, 54%)
HSVhsv(48, 69%, 83%)
CMYKcmyk(0%, 13.7%, 69.3%, 16.9%)
CIE-LABlab(74.98, -2.34, 61.13)
CIE-LCHlch(74.98, 61.18, 92.20°)
OKLaboklab(78.36% -0.0121 0.1367)
OKLCHoklch(78.36% 0.137 95.1)
XYZxyz(45.0412, 48.2481, 11.9404)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B741 #415ED4
analogous
#D46E41 #D4B741 #A8D441
triadic
#D4B741 #41D4B7 #B741D4
tetradic
#D4B741 #41D46E #415ED4 #D441A8
square
#D4B741 #41D46E #415ED4 #D441A8
split-complementary
#D4B741 #41A8D4 #6E41D4
monochromatic
#7E6B1D #B09528 #D4B741 #DFCA73 #EBDDA5

Accessibility & contrast

On white

1.97
#D4B741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#D4B741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B741
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B741#FFFFFF#000000##000000
##D4B7411.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB331
Deuteranopia (green-blind)
#D1BC47
Tritanopia (blue-blind)
#E5A99F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b741;
/* rgb */ color: rgb(212, 183, 65);
/* oklch */ color: oklch(78.4% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#e5cc7c',
    500: '#d4b741',
    950: '#000000',
  },
}
SCSS
$custom: #d4b741;
$custom-light: #e5cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b741",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 48.163,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78358,
    "c": 0.13727,
    "h": 95.1
  },
  "luminance": 0.48246
}

Semantic roles & 50–950 ramp

primary
#D4B741
secondary
#99A6D8
accent
#62E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B741

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

Preview Lab → · Contrast checker → · Palette generator →

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