#DBD871#DBD871

#DBD871 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.126 H 107.3°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#DBD871
RGBrgb(219, 216, 113)
HSLhsl(58, 60%, 65%)
HSVhsv(58, 48%, 86%)
CMYKcmyk(0%, 1.4%, 48.4%, 14.1%)
CIE-LABlab(84.67, -12.90, 50.70)
CIE-LCHlch(84.67, 52.32, 104.27°)
OKLaboklab(86.34% -0.0374 0.1203)
OKLCHoklch(86.34% 0.126 107.3)
XYZxyz(56.7512, 65.3655, 25.2469)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD871 #7174DB
analogous
#DBA371 #DBD871 #A9DB71
triadic
#DBD871 #71DBD8 #D871DB
tetradic
#DBD871 #71DBA3 #7174DB #DB71A9
square
#DBD871 #71DBA3 #7174DB #DB71A9
split-complementary
#DBD871 #71A9DB #A371DB
monochromatic
#A7A42A #CFCB40 #DBD871 #E7E5A2 #F4F3D3

Accessibility & contrast

On white

1.49
#DBD871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#DBD871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD871
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD871#FFFFFF#000000##000000
##DBD8711.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D168
Deuteranopia (green-blind)
#E9D576
Tritanopia (blue-blind)
#E8CDC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dbd871;
/* rgb */ color: rgb(219, 216, 113);
/* oklch */ color: oklch(86.3% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#e8e39c',
    500: '#dbd871',
    950: '#000000',
  },
}
SCSS
$custom: #dbd871;
$custom-light: #e8e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd871",
  "rgb": {
    "r": 219,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 58.302,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86338,
    "c": 0.12595,
    "h": 107.3
  },
  "luminance": 0.65364
}

Semantic roles & 50–950 ramp

primary
#DBD871
secondary
#4649AA
accent
#23C71E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #DBD871

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

Preview Lab → · Contrast checker → · Palette generator →

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