#DBD98F#DBD98F

#DBD98F is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.095 H 106.9°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#DBD98F
RGBrgb(219, 217, 143)
HSLhsl(58, 51%, 71%)
HSVhsv(58, 35%, 86%)
CMYKcmyk(0%, 0.9%, 34.7%, 14.1%)
CIE-LABlab(85.34, -10.31, 36.75)
CIE-LCHlch(85.34, 38.17, 105.67°)
OKLaboklab(87% -0.0275 0.0906)
OKLCHoklch(87% 0.095 106.9)
XYZxyz(58.9848, 66.6701, 35.7427)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD98F #8F91DB
analogous
#DBB38F #DBD98F #B7DB8F
triadic
#DBD98F #8FDBD9 #D98FDB
tetradic
#DBD98F #8FDBB3 #8F91DB #DB8FB7
square
#DBD98F #8FDBB3 #8F91DB #DB8FB7
split-complementary
#DBD98F #8FB7DB #B38FDB
monochromatic
#B5B23A #CCC961 #DBD98F #EAE9BD #F8F7E8

Accessibility & contrast

On white

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

On black

14.33
#DBD98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD98F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD98F#FFFFFF#000000##000000
##DBD98F1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D38A
Deuteranopia (green-blind)
#E6D792
Tritanopia (blue-blind)
#E5D0C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dbd98f;
/* rgb */ color: rgb(219, 217, 143);
/* oklch */ color: oklch(87.0% 0.095 106.9);
Tailwind
colors: {
  custom: {
    50: '#e7e4b0',
    500: '#dbd98f',
    950: '#000000',
  },
}
SCSS
$custom: #dbd98f;
$custom-light: #e7e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd98f",
  "rgb": {
    "r": 219,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 58.421,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86998,
    "c": 0.0947,
    "h": 106.9
  },
  "luminance": 0.66669
}

Semantic roles & 50–950 ramp

primary
#DBD98F
secondary
#5C5EB2
accent
#2BBF27
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DBD98F

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

Preview Lab → · Contrast checker → · Palette generator →

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