#D5B54F#D5B54F

#D5B54F is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.2% C 0.126 H 91.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D5B54F
RGBrgb(213, 181, 79)
HSLhsl(46, 61%, 57%)
HSVhsv(46, 63%, 84%)
CMYKcmyk(0%, 15%, 62.9%, 16.5%)
CIE-LABlab(74.67, -0.05, 54.85)
CIE-LCHlch(74.67, 54.85, 90.05°)
OKLaboklab(78.17% -0.0039 0.1256)
OKLCHoklch(78.17% 0.126 91.8)
XYZxyz(45.3779, 47.7608, 14.2242)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B54F #4F6FD5
analogous
#D5724F #D5B54F #B2D54F
triadic
#D5B54F #4FD5B5 #B54FD5
tetradic
#D5B54F #4FD572 #4F6FD5 #D54FB2
square
#D5B54F #4FD572 #4F6FD5 #D54FB2
split-complementary
#D5B54F #4FB2D5 #724FD5
monochromatic
#897021 #BA982C #D5B54F #E1CA80 #EDDFB2

Accessibility & contrast

On white

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

On black

10.55
#D5B54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B54F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B54F#FFFFFF#000000##000000
##D5B54F1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B244
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#E5A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b54f;
/* rgb */ color: rgb(213, 181, 79);
/* oklch */ color: oklch(78.2% 0.126 91.8);
Tailwind
colors: {
  custom: {
    50: '#e5ca84',
    500: '#d5b54f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b54f;
$custom-light: #e5ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b54f",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 45.672,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78174,
    "c": 0.12566,
    "h": 91.8
  },
  "luminance": 0.47758
}

Semantic roles & 50–950 ramp

primary
#D5B54F
secondary
#A5B2DB
accent
#6AE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B54F

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

Preview Lab → · Contrast checker → · Palette generator →

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