#DBD796#DBD796

#DBD796 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.084 H 105.0°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DBD796
RGBrgb(219, 215, 150)
HSLhsl(57, 49%, 72%)
HSVhsv(57, 32%, 86%)
CMYKcmyk(0%, 1.8%, 31.5%, 14.1%)
CIE-LABlab(84.93, -8.46, 32.64)
CIE-LCHlch(84.93, 33.72, 104.53°)
OKLaboklab(86.71% -0.0218 0.0813)
OKLCHoklch(86.71% 0.084 105)
XYZxyz(59.0193, 65.8641, 38.4522)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD796 #969ADB
analogous
#DBB596 #DBD796 #BCDB96
triadic
#DBD796 #96DBD7 #D796DB
tetradic
#DBD796 #96DBB5 #969ADB #DB96BC
square
#DBD796 #96DBB5 #969ADB #DB96BC
split-complementary
#DBD796 #96BCDB #B596DB
monochromatic
#B8B13F #CBC668 #DBD796 #EBE8C4 #F7F6E8

Accessibility & contrast

On white

1.48
#DBD796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#DBD796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD796
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD796#FFFFFF#000000##000000
##DBD7961.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D292
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#E5CFC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dbd796;
/* rgb */ color: rgb(219, 215, 150);
/* oklch */ color: oklch(86.7% 0.084 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7e3b5',
    500: '#dbd796',
    950: '#000000',
  },
}
SCSS
$custom: #dbd796;
$custom-light: #e7e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd796",
  "rgb": {
    "r": 219,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 56.522,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86709,
    "c": 0.08413,
    "h": 105
  },
  "luminance": 0.65863
}

Semantic roles & 50–950 ramp

primary
#DBD796
secondary
#6367B2
accent
#32BC29
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DBD796

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

Preview Lab → · Contrast checker → · Palette generator →

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