#D5B645#D5B645

#D5B645 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.134 H 93.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D5B645
RGBrgb(213, 182, 69)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 68%, 84%)
CMYKcmyk(0%, 14.6%, 67.6%, 16.5%)
CIE-LABlab(74.85, -1.18, 59.38)
CIE-LCHlch(74.85, 59.40, 91.13°)
OKLaboklab(78.28% -0.0084 0.1337)
OKLCHoklch(78.28% 0.134 93.6)
XYZxyz(45.2450, 48.0342, 12.5174)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B645 #4564D5
analogous
#D56E45 #D5B645 #ACD545
triadic
#D5B645 #45D5B6 #B645D5
tetradic
#D5B645 #45D56E #4564D5 #D545AC
square
#D5B645 #45D56E #4564D5 #D545AC
split-complementary
#D5B645 #45ACD5 #6E45D5
monochromatic
#826C1D #B49629 #D5B645 #E0CA77 #ECDDA9

Accessibility & contrast

On white

1.98
#D5B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D5B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B645
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B645#FFFFFF#000000##000000
##D5B6451.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E6A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b645;
/* rgb */ color: rgb(213, 182, 69);
/* oklch */ color: oklch(78.3% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#e6cb7e',
    500: '#d5b645',
    950: '#000000',
  },
}
SCSS
$custom: #d5b645;
$custom-light: #e6cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b645",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 47.083,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78283,
    "c": 0.13394,
    "h": 93.6
  },
  "luminance": 0.48032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B645

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

Preview Lab → · Contrast checker → · Palette generator →

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