#D5B544#D5B544

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

Color values

HEX#D5B544
RGBrgb(213, 181, 68)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 68%, 84%)
CMYKcmyk(0%, 15%, 68.1%, 16.5%)
CIE-LABlab(74.58, -0.71, 59.52)
CIE-LCHlch(74.58, 59.53, 90.68°)
OKLaboklab(78.07% -0.0071 0.1338)
OKLCHoklch(78.07% 0.134 93.1)
XYZxyz(45.0101, 47.6137, 12.2873)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B544 #4464D5
analogous
#D56D44 #D5B544 #ACD544
triadic
#D5B544 #44D5B5 #B544D5
tetradic
#D5B544 #44D56D #4464D5 #D544AC
square
#D5B544 #44D56D #4464D5 #D544AC
split-complementary
#D5B544 #44ACD5 #6D44D5
monochromatic
#826B1D #B39528 #D5B544 #E0C976 #EBDDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B544#FFFFFF#000000##000000
##D5B5441.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)
#C8B235
Deuteranopia (green-blind)
#D0BB4A
Tritanopia (blue-blind)
#E6A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b544;
/* rgb */ color: rgb(213, 181, 68);
/* oklch */ color: oklch(78.1% 0.134 93.1);
Tailwind
colors: {
  custom: {
    50: '#e6ca7e',
    500: '#d5b544',
    950: '#000000',
  },
}
SCSS
$custom: #d5b544;
$custom-light: #e6ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b544",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 68
  },
  "hsl": {
    "h": 46.759,
    "s": 63.319,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78071,
    "c": 0.134,
    "h": 93.1
  },
  "luminance": 0.47611
}

Semantic roles & 50–950 ramp

primary
#D5B544
secondary
#9CA9D9
accent
#66E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B544

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

Preview Lab → · Contrast checker → · Palette generator →

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