#D5B34D#D5B34D

#D5B34D is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.126 H 90.7°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D5B34D
RGBrgb(213, 179, 77)
HSLhsl(45, 62%, 57%)
HSVhsv(45, 64%, 84%)
CMYKcmyk(0%, 16%, 63.8%, 16.5%)
CIE-LABlab(74.14, 0.87, 55.17)
CIE-LCHlch(74.14, 55.18, 89.09°)
OKLaboklab(77.75% -0.0015 0.126)
OKLCHoklch(77.75% 0.126 90.7)
XYZxyz(44.9024, 46.9247, 13.7120)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B34D #4D6FD5
analogous
#D56F4D #D5B34D #B3D54D
triadic
#D5B34D #4DD5B3 #B34DD5
tetradic
#D5B34D #4DD56F #4D6FD5 #D54DB3
square
#D5B34D #4DD56F #4D6FD5 #D54DB3
split-complementary
#D5B34D #4DB3D5 #6F4DD5
monochromatic
#886E20 #B9962C #D5B34D #E1C87F #ECDDB0

Accessibility & contrast

On white

2.02
#D5B34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#D5B34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B34D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B34D#FFFFFF#000000##000000
##D5B34D1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B142
Deuteranopia (green-blind)
#CEBA52
Tritanopia (blue-blind)
#E6A59D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b34d;
/* rgb */ color: rgb(213, 179, 77);
/* oklch */ color: oklch(77.7% 0.126 90.7);
Tailwind
colors: {
  custom: {
    50: '#e5c983',
    500: '#d5b34d',
    950: '#000000',
  },
}
SCSS
$custom: #d5b34d;
$custom-light: #e5c983;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b34d",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 45,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77748,
    "c": 0.126,
    "h": 90.7
  },
  "luminance": 0.46922
}

Semantic roles & 50–950 ramp

primary
#D5B34D
secondary
#A3B1DB
accent
#6BE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B34D

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

Preview Lab → · Contrast checker → · Palette generator →

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