#DBC981#DBC981

#DBC981 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.5% C 0.094 H 95.8°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DBC981
RGBrgb(219, 201, 129)
HSLhsl(48, 56%, 68%)
HSVhsv(48, 41%, 86%)
CMYKcmyk(0%, 8.2%, 41.1%, 14.1%)
CIE-LABlab(80.97, -3.70, 38.23)
CIE-LCHlch(80.97, 38.41, 95.53°)
OKLaboklab(83.47% -0.0095 0.0934)
OKLCHoklch(83.47% 0.094 95.8)
XYZxyz(54.0637, 58.4202, 29.1930)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC981 #8193DB
analogous
#DB9C81 #DBC981 #C0DB81
triadic
#DBC981 #81DBC9 #C981DB
tetradic
#DBC981 #81DB9C #8193DB #DB81C0
square
#DBC981 #81DB9C #8193DB #DB81C0
split-complementary
#DBC981 #81C0DB #9C81DB
monochromatic
#AF9632 #CDB551 #DBC981 #E9DDB1 #F6F2E0

Accessibility & contrast

On white

1.66
#DBC981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#DBC981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC981
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC981#FFFFFF#000000##000000
##DBC9811.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67C
Deuteranopia (green-blind)
#DCCC84
Tritanopia (blue-blind)
#E8BFB7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dbc981;
/* rgb */ color: rgb(219, 201, 129);
/* oklch */ color: oklch(83.5% 0.094 95.8);
Tailwind
colors: {
  custom: {
    50: '#e7d9a6',
    500: '#dbc981',
    950: '#000000',
  },
}
SCSS
$custom: #dbc981;
$custom-light: #e7d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc981",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 48,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83471,
    "c": 0.0939,
    "h": 95.8
  },
  "luminance": 0.58418
}

Semantic roles & 50–950 ramp

primary
#DBC981
secondary
#4F62B1
accent
#43C322
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DBC981

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

Preview Lab → · Contrast checker → · Palette generator →

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