#D1B651#D1B651

#D1B651 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.124 H 94.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D1B651
RGBrgb(209, 182, 81)
HSLhsl(47, 58%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 12.9%, 61.2%, 18%)
CIE-LABlab(74.58, -2.14, 53.73)
CIE-LCHlch(74.58, 53.78, 92.28°)
OKLaboklab(78.02% -0.0094 0.1236)
OKLCHoklch(78.02% 0.124 94.4)
XYZxyz(44.5096, 47.6075, 14.6277)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B651 #516CD1
analogous
#D17651 #D1B651 #ACD151
triadic
#D1B651 #51D1B6 #B651D1
tetradic
#D1B651 #51D176 #516CD1 #D151AC
square
#D1B651 #51D176 #516CD1 #D151AC
split-complementary
#D1B651 #51ACD1 #7651D1
monochromatic
#857023 #B59930 #D1B651 #DECA81 #EBDFB2

Accessibility & contrast

On white

2.00
#D1B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D1B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B651
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B651#FFFFFF#000000##000000
##D1B6511.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#E1A9A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b651;
/* rgb */ color: rgb(209, 182, 81);
/* oklch */ color: oklch(78.0% 0.124 94.4);
Tailwind
colors: {
  custom: {
    50: '#e2cb86',
    500: '#d1b651',
    950: '#000000',
  },
}
SCSS
$custom: #d1b651;
$custom-light: #e2cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b651",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 47.344,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78016,
    "c": 0.12396,
    "h": 94.4
  },
  "luminance": 0.47605
}

Semantic roles & 50–950 ramp

primary
#D1B651
secondary
#A5B0D9
accent
#67E146
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B651

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

Preview Lab → · Contrast checker → · Palette generator →

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