#D5B34A#D5B34A

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

Color values

HEX#D5B34A
RGBrgb(213, 179, 74)
HSLhsl(45, 62%, 56%)
HSVhsv(45, 65%, 84%)
CMYKcmyk(0%, 16%, 65.3%, 16.5%)
CIE-LABlab(74.12, 0.69, 56.47)
CIE-LCHlch(74.12, 56.47, 89.30°)
OKLaboklab(77.72% -0.0024 0.1283)
OKLCHoklch(77.72% 0.128 91.1)
XYZxyz(44.7990, 46.8833, 13.1670)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B34A #4A6CD5
analogous
#D56E4A #D5B34A #B2D54A
triadic
#D5B34A #4AD5B3 #B34AD5
tetradic
#D5B34A #4AD56E #4A6CD5 #D54AB2
square
#D5B34A #4AD56E #4A6CD5 #D54AB2
split-complementary
#D5B34A #4AB2D5 #6E4AD5
monochromatic
#866D1F #B7952B #D5B34A #E1C87C #ECDDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B34A#FFFFFF#000000##000000
##D5B34A1.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)
#C6B13E
Deuteranopia (green-blind)
#CEBA4F
Tritanopia (blue-blind)
#E6A59D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b34a;
/* rgb */ color: rgb(213, 179, 74);
/* oklch */ color: oklch(77.7% 0.128 91.1);
Tailwind
colors: {
  custom: {
    50: '#e5c981',
    500: '#d5b34a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b34a;
$custom-light: #e5c981;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b34a",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 45.324,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77719,
    "c": 0.12832,
    "h": 91.1
  },
  "luminance": 0.46881
}

Semantic roles & 50–950 ramp

primary
#D5B34A
secondary
#A1AFDA
accent
#6AE542
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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