#D4B543#D4B543

#D4B543 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 78.0% C 0.135 H 93.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D4B543
RGBrgb(212, 181, 67)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 68%, 83%)
CMYKcmyk(0%, 14.6%, 68.4%, 16.9%)
CIE-LABlab(74.48, -1.19, 59.80)
CIE-LCHlch(74.48, 59.82, 91.14°)
OKLaboklab(77.96% -0.0086 0.1343)
OKLCHoklch(77.96% 0.135 93.7)
XYZxyz(44.6906, 47.4525, 12.1144)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B543 #4362D4
analogous
#D46C43 #D4B543 #ABD443
triadic
#D4B543 #43D4B5 #B543D4
tetradic
#D4B543 #43D46C #4362D4 #D443AB
square
#D4B543 #43D46C #4362D4 #D443AB
split-complementary
#D4B543 #43ABD4 #6C43D4
monochromatic
#7F6A1D #B19429 #D4B543 #DFC975 #EBDCA7

Accessibility & contrast

On white

2.00
#D4B543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#D4B543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B543
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B543#FFFFFF#000000##000000
##D4B5431.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B234
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#E5A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b543;
/* rgb */ color: rgb(212, 181, 67);
/* oklch */ color: oklch(78.0% 0.135 93.7);
Tailwind
colors: {
  custom: {
    50: '#e5ca7d',
    500: '#d4b543',
    950: '#000000',
  },
}
SCSS
$custom: #d4b543;
$custom-light: #e5ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b543",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 47.172,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77965,
    "c": 0.13453,
    "h": 93.7
  },
  "luminance": 0.4745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B543

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

Preview Lab → · Contrast checker → · Palette generator →

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