#DBC478#DBC478

#DBC478 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.099 H 93.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#DBC478
RGBrgb(219, 196, 120)
HSLhsl(46, 58%, 66%)
HSVhsv(46, 45%, 86%)
CMYKcmyk(0%, 10.5%, 45.2%, 14.1%)
CIE-LABlab(79.56, -2.04, 40.99)
CIE-LCHlch(79.56, 41.04, 92.84°)
OKLaboklab(82.31% -0.0054 0.0992)
OKLCHoklch(82.31% 0.099 93.1)
XYZxyz(52.3450, 55.8980, 25.7978)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC478 #788FDB
analogous
#DB9378 #DBC478 #C1DB78
triadic
#DBC478 #78DBC4 #C478DB
tetradic
#DBC478 #78DB93 #788FDB #DB78C1
square
#DBC478 #78DB93 #788FDB #DB78C1
split-complementary
#DBC478 #78C1DB #9378DB
monochromatic
#AB8E2E #CEAF48 #DBC478 #E8D9A8 #F5EED9

Accessibility & contrast

On white

1.72
#DBC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#DBC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC478
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC478#FFFFFF#000000##000000
##DBC4781.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#D9C87B
Tritanopia (blue-blind)
#E9B9B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dbc478;
/* rgb */ color: rgb(219, 196, 120);
/* oklch */ color: oklch(82.3% 0.099 93.1);
Tailwind
colors: {
  custom: {
    50: '#e8d5a0',
    500: '#dbc478',
    950: '#000000',
  },
}
SCSS
$custom: #dbc478;
$custom-light: #e8d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc478",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 46.061,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82311,
    "c": 0.09936,
    "h": 93.1
  },
  "luminance": 0.55896
}

Semantic roles & 50–950 ramp

primary
#DBC478
secondary
#4A61AE
accent
#46C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DBC478

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

Preview Lab → · Contrast checker → · Palette generator →

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