#D5B34B#D5B34B

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

Color values

HEX#D5B34B
RGBrgb(213, 179, 75)
HSLhsl(45, 62%, 56%)
HSVhsv(45, 65%, 84%)
CMYKcmyk(0%, 16%, 64.8%, 16.5%)
CIE-LABlab(74.12, 0.75, 56.04)
CIE-LCHlch(74.12, 56.04, 89.23°)
OKLaboklab(77.73% -0.0021 0.1275)
OKLCHoklch(77.73% 0.128 90.9)
XYZxyz(44.8329, 46.8969, 13.3458)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B34B #4B6DD5
analogous
#D56E4B #D5B34B #B2D54B
triadic
#D5B34B #4BD5B3 #B34BD5
tetradic
#D5B34B #4BD56E #4B6DD5 #D54BB2
square
#D5B34B #4BD56E #4B6DD5 #D54BB2
split-complementary
#D5B34B #4BB2D5 #6E4BD5
monochromatic
#866D1F #B8952B #D5B34B #E1C87D #ECDDAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B34B#FFFFFF#000000##000000
##D5B34B1.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)
#C5B13F
Deuteranopia (green-blind)
#CEBA50
Tritanopia (blue-blind)
#E6A59D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b34b;
/* rgb */ color: rgb(213, 179, 75);
/* oklch */ color: oklch(77.7% 0.128 90.9);
Tailwind
colors: {
  custom: {
    50: '#e5c982',
    500: '#d5b34b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b34b;
$custom-light: #e5c982;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b34b",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 45.217,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77729,
    "c": 0.12756,
    "h": 90.9
  },
  "luminance": 0.46894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B34B

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

Preview Lab → · Contrast checker → · Palette generator →

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