#D5B54B#D5B54B

#D5B54B is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.129 H 92.3°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D5B54B
RGBrgb(213, 181, 75)
HSLhsl(46, 62%, 56%)
HSVhsv(46, 65%, 84%)
CMYKcmyk(0%, 15%, 64.8%, 16.5%)
CIE-LABlab(74.64, -0.30, 56.59)
CIE-LCHlch(74.64, 56.59, 90.30°)
OKLaboklab(78.14% -0.0051 0.1287)
OKLCHoklch(78.14% 0.129 92.3)
XYZxyz(45.2367, 47.7043, 13.4804)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B54B #4B6BD5
analogous
#D5704B #D5B54B #B0D54B
triadic
#D5B54B #4BD5B5 #B54BD5
tetradic
#D5B54B #4BD570 #4B6BD5 #D54BB0
square
#D5B54B #4BD570 #4B6BD5 #D54BB0
split-complementary
#D5B54B #4BB0D5 #704BD5
monochromatic
#866E1F #B8972B #D5B54B #E1C97D #ECDEAE

Accessibility & contrast

On white

1.99
#D5B54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D5B54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B54B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B54B#FFFFFF#000000##000000
##D5B54B1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23F
Deuteranopia (green-blind)
#CFBC50
Tritanopia (blue-blind)
#E5A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b54b;
/* rgb */ color: rgb(213, 181, 75);
/* oklch */ color: oklch(78.1% 0.129 92.3);
Tailwind
colors: {
  custom: {
    50: '#e5ca82',
    500: '#d5b54b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b54b;
$custom-light: #e5ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b54b",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 46.087,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78135,
    "c": 0.12882,
    "h": 92.3
  },
  "luminance": 0.47702
}

Semantic roles & 50–950 ramp

primary
#D5B54B
secondary
#A2AFDA
accent
#68E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B54B

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

Preview Lab → · Contrast checker → · Palette generator →

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