#D4B145#D4B145

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

Color values

HEX#D4B145
RGBrgb(212, 177, 69)
HSLhsl(45, 62%, 55%)
HSVhsv(45, 67%, 83%)
CMYKcmyk(0%, 16.5%, 67.5%, 16.9%)
CIE-LABlab(73.46, 1.02, 57.91)
CIE-LCHlch(73.46, 57.92, 88.99°)
OKLaboklab(77.17% -0.002 0.1306)
OKLCHoklch(77.17% 0.131 90.9)
XYZxyz(43.9500, 45.8736, 12.1686)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B145 #4568D4
analogous
#D46A45 #D4B145 #AFD445
triadic
#D4B145 #45D4B1 #B145D4
tetradic
#D4B145 #45D46A #4568D4 #D445AF
square
#D4B145 #45D46A #4568D4 #D445AF
split-complementary
#D4B145 #45AFD4 #6A45D4
monochromatic
#81691E #B39129 #D4B145 #DFC677 #EBDBA8

Accessibility & contrast

On white

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

On black

10.17
#D4B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B145
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B145#FFFFFF#000000##000000
##D4B1451.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b145;
/* rgb */ color: rgb(212, 177, 69);
/* oklch */ color: oklch(77.2% 0.131 90.9);
Tailwind
colors: {
  custom: {
    50: '#e5c87e',
    500: '#d4b145',
    950: '#000000',
  },
}
SCSS
$custom: #d4b145;
$custom-light: #e5c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b145",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 45.315,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77169,
    "c": 0.1306,
    "h": 90.9
  },
  "luminance": 0.45871
}

Semantic roles & 50–950 ramp

primary
#D4B145
secondary
#9CABD8
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B145

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

Preview Lab → · Contrast checker → · Palette generator →

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