#D5B440#D5B440

#D5B440 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.136 H 92.8°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#D5B440
RGBrgb(213, 180, 64)
HSLhsl(47, 64%, 54%)
HSVhsv(47, 70%, 84%)
CMYKcmyk(0%, 15.5%, 70%, 16.5%)
CIE-LABlab(74.29, -0.39, 60.87)
CIE-LCHlch(74.29, 60.87, 90.37°)
OKLaboklab(77.83% -0.0067 0.136)
OKLCHoklch(77.83% 0.136 92.8)
XYZxyz(44.6896, 47.1614, 11.5987)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B440 #4061D5
analogous
#D56A40 #D5B440 #ACD540
triadic
#D5B440 #40D5B4 #B440D5
tetradic
#D5B440 #40D56A #4061D5 #D540AC
square
#D5B440 #40D56A #4061D5 #D540AC
split-complementary
#D5B440 #40ACD5 #6A40D5
monochromatic
#7F691C #B19227 #D5B440 #E0C872 #EBDBA4

Accessibility & contrast

On white

2.01
#D5B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#D5B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B440
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B440#FFFFFF#000000##000000
##D5B4401.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B130
Deuteranopia (green-blind)
#CFBB46
Tritanopia (blue-blind)
#E6A69C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b440;
/* rgb */ color: rgb(213, 180, 64);
/* oklch */ color: oklch(77.8% 0.136 92.8);
Tailwind
colors: {
  custom: {
    50: '#e6ca7b',
    500: '#d5b440',
    950: '#000000',
  },
}
SCSS
$custom: #d5b440;
$custom-light: #e6ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b440",
  "rgb": {
    "r": 213,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 46.711,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77834,
    "c": 0.13612,
    "h": 92.8
  },
  "luminance": 0.47159
}

Semantic roles & 50–950 ramp

primary
#D5B440
secondary
#99A7D8
accent
#66E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B440

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

Preview Lab → · Contrast checker → · Palette generator →

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