#DBD87C#DBD87C

#DBD87C is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.115 H 106.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DBD87C
RGBrgb(219, 216, 124)
HSLhsl(58, 57%, 67%)
HSVhsv(58, 43%, 86%)
CMYKcmyk(0%, 1.4%, 43.4%, 14.1%)
CIE-LABlab(84.81, -11.86, 45.56)
CIE-LCHlch(84.81, 47.08, 104.59°)
OKLaboklab(86.49% -0.0334 0.1097)
OKLCHoklch(86.49% 0.115 106.9)
XYZxyz(57.4085, 65.6284, 28.7083)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD87C #7C7FDB
analogous
#DBA87C #DBD87C #AFDB7C
triadic
#DBD87C #7CDBD8 #D87CDB
tetradic
#DBD87C #7CDBA8 #7C7FDB #DB7CAF
square
#DBD87C #7CDBA8 #7C7FDB #DB7CAF
split-complementary
#DBD87C #7CAFDB #A87CDB
monochromatic
#ADA930 #CECA4C #DBD87C #E8E6AC #F5F5DC

Accessibility & contrast

On white

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

On black

14.13
#DBD87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD87C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD87C#FFFFFF#000000##000000
##DBD87C1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D274
Deuteranopia (green-blind)
#E8D680
Tritanopia (blue-blind)
#E7CDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dbd87c;
/* rgb */ color: rgb(219, 216, 124);
/* oklch */ color: oklch(86.5% 0.115 106.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3a3',
    500: '#dbd87c',
    950: '#000000',
  },
}
SCSS
$custom: #dbd87c;
$custom-light: #e8e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd87c",
  "rgb": {
    "r": 219,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 58.105,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86489,
    "c": 0.11467,
    "h": 106.9
  },
  "luminance": 0.65627
}

Semantic roles & 50–950 ramp

primary
#DBD87C
secondary
#4C4FB0
accent
#26C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DBD87C

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

Preview Lab → · Contrast checker → · Palette generator →

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