#DBD97F#DBD97F

#DBD97F is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.113 H 107.4°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DBD97F
RGBrgb(219, 217, 127)
HSLhsl(59, 56%, 68%)
HSVhsv(59, 42%, 86%)
CMYKcmyk(0%, 0.9%, 42%, 14.1%)
CIE-LABlab(85.11, -12.06, 44.46)
CIE-LCHlch(85.11, 46.07, 105.18°)
OKLaboklab(86.74% -0.0337 0.1074)
OKLCHoklch(86.74% 0.113 107.4)
XYZxyz(57.8580, 66.2194, 29.8083)
Luminance0.6622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD97F #7F81DB
analogous
#DBAB7F #DBD97F #AFDB7F
triadic
#DBD97F #7FDBD9 #D97FDB
tetradic
#DBD97F #7FDBAB #7F81DB #DB7FAF
square
#DBD97F #7FDBAB #7F81DB #DB7FAF
split-complementary
#DBD97F #7FAFDB #AB7FDB
monochromatic
#AFAC31 #CECB4F #DBD97F #E8E7AF #F6F5DF

Accessibility & contrast

On white

1.47
#DBD97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#DBD97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD97F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD97F#FFFFFF#000000##000000
##DBD97F1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D278
Deuteranopia (green-blind)
#E8D683
Tritanopia (blue-blind)
#E7CFC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dbd97f;
/* rgb */ color: rgb(219, 217, 127);
/* oklch */ color: oklch(86.7% 0.113 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e4a5',
    500: '#dbd97f',
    950: '#000000',
  },
}
SCSS
$custom: #dbd97f;
$custom-light: #e8e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd97f",
  "rgb": {
    "r": 219,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 58.696,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86741,
    "c": 0.11258,
    "h": 107.4
  },
  "luminance": 0.66218
}

Semantic roles & 50–950 ramp

primary
#DBD97F
secondary
#4D4FB1
accent
#25C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DBD97F

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

Preview Lab → · Contrast checker → · Palette generator →

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