#DBC978#DBC978

#DBC978 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.104 H 97.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#DBC978
RGBrgb(219, 201, 120)
HSLhsl(49, 58%, 66%)
HSVhsv(49, 45%, 86%)
CMYKcmyk(0%, 8.2%, 45.2%, 14.1%)
CIE-LABlab(80.84, -4.62, 42.61)
CIE-LCHlch(80.84, 42.86, 96.19°)
OKLaboklab(83.33% -0.0129 0.1028)
OKLCHoklch(83.33% 0.104 97.2)
XYZxyz(53.4917, 58.1913, 26.1800)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC978 #788ADB
analogous
#DB9878 #DBC978 #BCDB78
triadic
#DBC978 #78DBC9 #C978DB
tetradic
#DBC978 #78DB98 #788ADB #DB78BC
square
#DBC978 #78DB98 #788ADB #DB78BC
split-complementary
#DBC978 #78BCDB #9878DB
monochromatic
#AB942E #CEB648 #DBC978 #E8DCA8 #F5F0D9

Accessibility & contrast

On white

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

On black

12.64
#DBC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC978
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC978#FFFFFF#000000##000000
##DBC9781.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C572
Deuteranopia (green-blind)
#DDCB7B
Tritanopia (blue-blind)
#E9BEB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dbc978;
/* rgb */ color: rgb(219, 201, 120);
/* oklch */ color: oklch(83.3% 0.104 97.2);
Tailwind
colors: {
  custom: {
    50: '#e8d9a0',
    500: '#dbc978',
    950: '#000000',
  },
}
SCSS
$custom: #dbc978;
$custom-light: #e8d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc978",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 49.091,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8333,
    "c": 0.10365,
    "h": 97.2
  },
  "luminance": 0.58189
}

Semantic roles & 50–950 ramp

primary
#DBC978
secondary
#4A5CAE
accent
#3EC520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DBC978

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

Preview Lab → · Contrast checker → · Palette generator →

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