#D5B751#D5B751

#D5B751 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.125 H 92.9°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D5B751
RGBrgb(213, 183, 81)
HSLhsl(46, 61%, 58%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 14.1%, 62%, 16.5%)
CIE-LABlab(75.21, -0.97, 54.54)
CIE-LCHlch(75.21, 54.55, 91.02°)
OKLaboklab(78.6% -0.0063 0.1252)
OKLCHoklch(78.6% 0.125 92.9)
XYZxyz(45.8614, 48.6096, 14.7499)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B751 #516FD5
analogous
#D57551 #D5B751 #B1D551
triadic
#D5B751 #51D5B7 #B751D5
tetradic
#D5B751 #51D575 #516FD5 #D551B1
square
#D5B751 #51D575 #516FD5 #D551B1
split-complementary
#D5B751 #51B1D5 #7551D5
monochromatic
#8A7221 #BC9B2D #D5B751 #E1CB82 #EDE0B4

Accessibility & contrast

On white

1.96
#D5B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D5B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B751
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B751#FFFFFF#000000##000000
##D5B7511.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#E5AAA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b751;
/* rgb */ color: rgb(213, 183, 81);
/* oklch */ color: oklch(78.6% 0.125 92.9);
Tailwind
colors: {
  custom: {
    50: '#e5cc86',
    500: '#d5b751',
    950: '#000000',
  },
}
SCSS
$custom: #d5b751;
$custom-light: #e5cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b751",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 46.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78602,
    "c": 0.12537,
    "h": 92.9
  },
  "luminance": 0.48607
}

Semantic roles & 50–950 ramp

primary
#D5B751
secondary
#A6B2DB
accent
#68E444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B751

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

Preview Lab → · Contrast checker → · Palette generator →

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