#D5B651#D5B651

#D5B651 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.4% C 0.125 H 92.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D5B651
RGBrgb(213, 182, 81)
HSLhsl(46, 61%, 58%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 14.6%, 62%, 16.5%)
CIE-LABlab(74.95, -0.44, 54.25)
CIE-LCHlch(74.95, 54.26, 90.47°)
OKLaboklab(78.4% -0.0048 0.1246)
OKLCHoklch(78.4% 0.125 92.2)
XYZxyz(45.6558, 48.1985, 14.6814)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B651 #5170D5
analogous
#D57451 #D5B651 #B2D551
triadic
#D5B651 #51D5B6 #B651D5
tetradic
#D5B651 #51D574 #5170D5 #D551B2
square
#D5B651 #51D574 #5170D5 #D551B2
split-complementary
#D5B651 #51B2D5 #7451D5
monochromatic
#8A7221 #BC9A2D #D5B651 #E1CB82 #EDDFB4

Accessibility & contrast

On white

1.97
#D5B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#D5B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B651
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B651#FFFFFF#000000##000000
##D5B6511.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#D0BC55
Tritanopia (blue-blind)
#E5A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b651;
/* rgb */ color: rgb(213, 182, 81);
/* oklch */ color: oklch(78.4% 0.125 92.2);
Tailwind
colors: {
  custom: {
    50: '#e5cb86',
    500: '#d5b651',
    950: '#000000',
  },
}
SCSS
$custom: #d5b651;
$custom-light: #e5cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b651",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 45.909,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78398,
    "c": 0.12469,
    "h": 92.2
  },
  "luminance": 0.48196
}

Semantic roles & 50–950 ramp

primary
#D5B651
secondary
#A6B3DB
accent
#69E444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B651

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

Preview Lab → · Contrast checker → · Palette generator →

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