#D5B740#D5B740

#D5B740 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.138 H 94.7°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D5B740
RGBrgb(213, 183, 64)
HSLhsl(48, 64%, 54%)
HSVhsv(48, 70%, 84%)
CMYKcmyk(0%, 14.1%, 70%, 16.5%)
CIE-LABlab(75.07, -1.97, 61.65)
CIE-LCHlch(75.07, 61.68, 91.83°)
OKLaboklab(78.45% -0.0112 0.1376)
OKLCHoklch(78.45% 0.138 94.7)
XYZxyz(45.3018, 48.3857, 11.8027)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B740 #405ED5
analogous
#D56C40 #D5B740 #A9D540
triadic
#D5B740 #40D5B7 #B740D5
tetradic
#D5B740 #40D56C #405ED5 #D540A9
square
#D5B740 #40D56C #405ED5 #D540A9
split-complementary
#D5B740 #40A9D5 #6C40D5
monochromatic
#7F6B1C #B19527 #D5B740 #E0CA72 #EBDDA4

Accessibility & contrast

On white

1.97
#D5B740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D5B740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B740
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B740#FFFFFF#000000##000000
##D5B7401.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#D1BD47
Tritanopia (blue-blind)
#E6A99F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b740;
/* rgb */ color: rgb(213, 183, 64);
/* oklch */ color: oklch(78.4% 0.138 94.7);
Tailwind
colors: {
  custom: {
    50: '#e6cc7c',
    500: '#d5b740',
    950: '#000000',
  },
}
SCSS
$custom: #d5b740;
$custom-light: #e6cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b740",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 47.919,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78446,
    "c": 0.13807,
    "h": 94.7
  },
  "luminance": 0.48383
}

Semantic roles & 50–950 ramp

primary
#D5B740
secondary
#99A6D8
accent
#62E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B740

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

Preview Lab → · Contrast checker → · Palette generator →

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