#DBD397#DBD397

#DBD397 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.078 H 101.5°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DBD397
RGBrgb(219, 211, 151)
HSLhsl(53, 49%, 73%)
HSVhsv(53, 31%, 86%)
CMYKcmyk(0%, 3.7%, 31.1%, 14.1%)
CIE-LABlab(83.91, -6.30, 30.77)
CIE-LCHlch(83.91, 31.41, 101.57°)
OKLaboklab(85.91% -0.0156 0.0769)
OKLCHoklch(85.91% 0.078 101.5)
XYZxyz(58.0941, 63.8842, 38.5428)
Luminance0.6388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD397 #979FDB
analogous
#DBB197 #DBD397 #C1DB97
triadic
#DBD397 #97DBD3 #D397DB
tetradic
#DBD397 #97DBB1 #979FDB #DB97C1
square
#DBD397 #97DBB1 #979FDB #DB97C1
split-complementary
#DBD397 #97C1DB #B197DB
monochromatic
#B8AA40 #CBC06A #DBD397 #EBE6C4 #F7F5E8

Accessibility & contrast

On white

1.52
#DBD397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#DBD397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD397
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD397#FFFFFF#000000##000000
##DBD3971.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#E1D399
Tritanopia (blue-blind)
#E5CBC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dbd397;
/* rgb */ color: rgb(219, 211, 151);
/* oklch */ color: oklch(85.9% 0.078 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7e0b6',
    500: '#dbd397',
    950: '#000000',
  },
}
SCSS
$custom: #dbd397;
$custom-light: #e7e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd397",
  "rgb": {
    "r": 219,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 52.941,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85905,
    "c": 0.07842,
    "h": 101.5
  },
  "luminance": 0.63883
}

Semantic roles & 50–950 ramp

primary
#DBD397
secondary
#646DB3
accent
#3BBC2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DBD397

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

Preview Lab → · Contrast checker → · Palette generator →

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