#DBC874#DBC874

#DBC874 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.107 H 96.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DBC874
RGBrgb(219, 200, 116)
HSLhsl(49, 59%, 66%)
HSVhsv(49, 47%, 86%)
CMYKcmyk(0%, 8.7%, 47%, 14.1%)
CIE-LABlab(80.53, -4.49, 44.21)
CIE-LCHlch(80.53, 44.44, 95.80°)
OKLaboklab(83.07% -0.0129 0.1062)
OKLCHoklch(83.07% 0.107 96.9)
XYZxyz(53.0216, 57.6315, 24.8507)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC874 #7487DB
analogous
#DB9474 #DBC874 #BADB74
triadic
#DBC874 #74DBC8 #C874DB
tetradic
#DBC874 #74DB94 #7487DB #DB74BA
square
#DBC874 #74DB94 #7487DB #DB74BA
split-complementary
#DBC874 #74BADB #9474DB
monochromatic
#A9922C #CEB543 #DBC874 #E8DBA5 #F4EED5

Accessibility & contrast

On white

1.68
#DBC874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#DBC874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC874
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC874#FFFFFF#000000##000000
##DBC8741.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46D
Deuteranopia (green-blind)
#DCCB77
Tritanopia (blue-blind)
#E9BDB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dbc874;
/* rgb */ color: rgb(219, 200, 116);
/* oklch */ color: oklch(83.1% 0.107 96.9);
Tailwind
colors: {
  custom: {
    50: '#e8d89d',
    500: '#dbc874',
    950: '#000000',
  },
}
SCSS
$custom: #dbc874;
$custom-light: #e8d89d;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc874",
  "rgb": {
    "r": 219,
    "g": 200,
    "b": 116
  },
  "hsl": {
    "h": 48.932,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83066,
    "c": 0.10694,
    "h": 96.9
  },
  "luminance": 0.5763
}

Semantic roles & 50–950 ramp

primary
#DBC874
secondary
#485AAC
accent
#3EC61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #DBC874

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

Preview Lab → · Contrast checker → · Palette generator →

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