#D5B745#D5B745

#D5B745 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.135 H 94.2°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D5B745
RGBrgb(213, 183, 69)
HSLhsl(48, 63%, 55%)
HSVhsv(48, 68%, 84%)
CMYKcmyk(0%, 14.1%, 67.6%, 16.5%)
CIE-LABlab(75.10, -1.70, 59.65)
CIE-LCHlch(75.10, 59.68, 91.63°)
OKLaboklab(78.49% -0.0099 0.1343)
OKLCHoklch(78.49% 0.135 94.2)
XYZxyz(45.4505, 48.4452, 12.5859)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B745 #4563D5
analogous
#D56F45 #D5B745 #ABD545
triadic
#D5B745 #45D5B7 #B745D5
tetradic
#D5B745 #45D56F #4563D5 #D545AB
square
#D5B745 #45D56F #4563D5 #D545AB
split-complementary
#D5B745 #45ABD5 #6F45D5
monochromatic
#826D1D #B49729 #D5B745 #E0CA77 #ECDEA9

Accessibility & contrast

On white

1.96
#D5B745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D5B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B745
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B745#FFFFFF#000000##000000
##D5B7451.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b745;
/* rgb */ color: rgb(213, 183, 69);
/* oklch */ color: oklch(78.5% 0.135 94.2);
Tailwind
colors: {
  custom: {
    50: '#e6cc7e',
    500: '#d5b745',
    950: '#000000',
  },
}
SCSS
$custom: #d5b745;
$custom-light: #e6cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b745",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 47.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78488,
    "c": 0.13461,
    "h": 94.2
  },
  "luminance": 0.48443
}

Semantic roles & 50–950 ramp

primary
#D5B745
secondary
#9DA9D9
accent
#64E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B745

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

Preview Lab → · Contrast checker → · Palette generator →

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