#DBD87F#DBD87F

#DBD87F is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.111 H 106.8°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DBD87F
RGBrgb(219, 216, 127)
HSLhsl(58, 56%, 68%)
HSVhsv(58, 42%, 86%)
CMYKcmyk(0%, 1.4%, 42%, 14.1%)
CIE-LABlab(84.85, -11.56, 44.13)
CIE-LCHlch(84.85, 45.62, 104.67°)
OKLaboklab(86.53% -0.0323 0.1067)
OKLCHoklch(86.53% 0.111 106.8)
XYZxyz(57.6011, 65.7055, 29.7227)
Luminance0.6570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD87F #7F82DB
analogous
#DBAA7F #DBD87F #B0DB7F
triadic
#DBD87F #7FDBD8 #D87FDB
tetradic
#DBD87F #7FDBAA #7F82DB #DB7FB0
square
#DBD87F #7FDBAA #7F82DB #DB7FB0
split-complementary
#DBD87F #7FB0DB #AA7FDB
monochromatic
#AFAA31 #CEC94F #DBD87F #E8E7AF #F6F5DF

Accessibility & contrast

On white

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

On black

14.14
#DBD87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD87F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD87F#FFFFFF#000000##000000
##DBD87F1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D278
Deuteranopia (green-blind)
#E7D683
Tritanopia (blue-blind)
#E7CEC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dbd87f;
/* rgb */ color: rgb(219, 216, 127);
/* oklch */ color: oklch(86.5% 0.111 106.8);
Tailwind
colors: {
  custom: {
    50: '#e8e3a5',
    500: '#dbd87f',
    950: '#000000',
  },
}
SCSS
$custom: #dbd87f;
$custom-light: #e8e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd87f",
  "rgb": {
    "r": 219,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 58.043,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86533,
    "c": 0.11146,
    "h": 106.8
  },
  "luminance": 0.65704
}

Semantic roles & 50–950 ramp

primary
#DBD87F
secondary
#4D50B1
accent
#27C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DBD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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