#D4B645#D4B645

#D4B645 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.134 H 94.1°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D4B645
RGBrgb(212, 182, 69)
HSLhsl(47, 62%, 55%)
HSVhsv(47, 67%, 83%)
CMYKcmyk(0%, 14.2%, 67.5%, 16.9%)
CIE-LABlab(74.75, -1.60, 59.26)
CIE-LCHlch(74.75, 59.28, 91.55°)
OKLaboklab(78.19% -0.0095 0.1334)
OKLCHoklch(78.19% 0.134 94.1)
XYZxyz(44.9557, 47.8850, 12.5039)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B645 #4563D4
analogous
#D46F45 #D4B645 #AAD445
triadic
#D4B645 #45D4B6 #B645D4
tetradic
#D4B645 #45D46F #4563D4 #D445AA
square
#D4B645 #45D46F #4563D4 #D445AA
split-complementary
#D4B645 #45AAD4 #6F45D4
monochromatic
#816C1E #B39629 #D4B645 #DFCA77 #EBDDA8

Accessibility & contrast

On white

1.99
#D4B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D4B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B645
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B645#FFFFFF#000000##000000
##D4B6451.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B336
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E5A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b645;
/* rgb */ color: rgb(212, 182, 69);
/* oklch */ color: oklch(78.2% 0.134 94.1);
Tailwind
colors: {
  custom: {
    50: '#e5cb7e',
    500: '#d4b645',
    950: '#000000',
  },
}
SCSS
$custom: #d4b645;
$custom-light: #e5cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b645",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 47.413,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78187,
    "c": 0.13378,
    "h": 94.1
  },
  "luminance": 0.47883
}

Semantic roles & 50–950 ramp

primary
#D4B645
secondary
#9CA9D8
accent
#65E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B645

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

Preview Lab → · Contrast checker → · Palette generator →

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