#D5B543#D5B543

#D5B543 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.1% C 0.135 H 93.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D5B543
RGBrgb(213, 181, 67)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 69%, 84%)
CMYKcmyk(0%, 15%, 68.5%, 16.5%)
CIE-LABlab(74.57, -0.76, 59.93)
CIE-LCHlch(74.57, 59.94, 90.73°)
OKLaboklab(78.06% -0.0074 0.1345)
OKLCHoklch(78.06% 0.135 93.1)
XYZxyz(44.9799, 47.6016, 12.1280)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B543 #4363D5
analogous
#D56C43 #D5B543 #ACD543
triadic
#D5B543 #43D5B5 #B543D5
tetradic
#D5B543 #43D56C #4363D5 #D543AC
square
#D5B543 #43D56C #4363D5 #D543AC
split-complementary
#D5B543 #43ACD5 #6C43D5
monochromatic
#816B1D #B39428 #D5B543 #E0C975 #EBDCA7

Accessibility & contrast

On white

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

On black

10.52
#D5B543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B543
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B543#FFFFFF#000000##000000
##D5B5431.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b543;
/* rgb */ color: rgb(213, 181, 67);
/* oklch */ color: oklch(78.1% 0.135 93.1);
Tailwind
colors: {
  custom: {
    50: '#e6ca7d',
    500: '#d5b543',
    950: '#000000',
  },
}
SCSS
$custom: #d5b543;
$custom-light: #e6ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b543",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 46.849,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78062,
    "c": 0.1347,
    "h": 93.1
  },
  "luminance": 0.47599
}

Semantic roles & 50–950 ramp

primary
#D5B543
secondary
#9BA9D9
accent
#66E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B543

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

Preview Lab → · Contrast checker → · Palette generator →

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