#D5B84F#D5B84F

#D5B84F is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.128 H 93.8°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D5B84F
RGBrgb(213, 184, 79)
HSLhsl(47, 61%, 57%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 13.6%, 62.9%, 16.5%)
CIE-LABlab(75.45, -1.62, 55.70)
CIE-LCHlch(75.45, 55.72, 91.67°)
OKLaboklab(78.79% -0.0084 0.1274)
OKLCHoklch(78.79% 0.128 93.8)
XYZxyz(45.9945, 48.9940, 14.4297)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B84F #4F6CD5
analogous
#D5754F #D5B84F #AFD54F
triadic
#D5B84F #4FD5B8 #B84FD5
tetradic
#D5B84F #4FD575 #4F6CD5 #D54FAF
square
#D5B84F #4FD575 #4F6CD5 #D54FAF
split-complementary
#D5B84F #4FAFD5 #754FD5
monochromatic
#897221 #BA9C2C #D5B84F #E1CC80 #EDE0B2

Accessibility & contrast

On white

1.94
#D5B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#D5B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B84F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B84F#FFFFFF#000000##000000
##D5B84F1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#D1BE54
Tritanopia (blue-blind)
#E5ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b84f;
/* rgb */ color: rgb(213, 184, 79);
/* oklch */ color: oklch(78.8% 0.128 93.8);
Tailwind
colors: {
  custom: {
    50: '#e5cd84',
    500: '#d5b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b84f;
$custom-light: #e5cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b84f",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 47.015,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78785,
    "c": 0.12769,
    "h": 93.8
  },
  "luminance": 0.48992
}

Semantic roles & 50–950 ramp

primary
#D5B84F
secondary
#A5B1DB
accent
#66E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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