#DBC871#DBC871

#DBC871 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.110 H 97.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DBC871
RGBrgb(219, 200, 113)
HSLhsl(49, 60%, 65%)
HSVhsv(49, 48%, 86%)
CMYKcmyk(0%, 8.7%, 48.4%, 14.1%)
CIE-LABlab(80.50, -4.77, 45.65)
CIE-LCHlch(80.50, 45.90, 95.97°)
OKLaboklab(83.02% -0.014 0.1091)
OKLCHoklch(83.02% 0.11 97.3)
XYZxyz(52.8499, 57.5629, 23.9464)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC871 #7184DB
analogous
#DB9371 #DBC871 #B9DB71
triadic
#DBC871 #71DBC8 #C871DB
tetradic
#DBC871 #71DB93 #7184DB #DB71B9
square
#DBC871 #71DB93 #7184DB #DB71B9
split-complementary
#DBC871 #71B9DB #9371DB
monochromatic
#A7912A #CFB540 #DBC871 #E7DBA2 #F4EED3

Accessibility & contrast

On white

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

On black

12.51
#DBC871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC871
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC871#FFFFFF#000000##000000
##DBC8711.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46A
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#E9BDB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dbc871;
/* rgb */ color: rgb(219, 200, 113);
/* oklch */ color: oklch(83.0% 0.110 97.3);
Tailwind
colors: {
  custom: {
    50: '#e8d89b',
    500: '#dbc871',
    950: '#000000',
  },
}
SCSS
$custom: #dbc871;
$custom-light: #e8d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc871",
  "rgb": {
    "r": 219,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 49.245,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83023,
    "c": 0.11003,
    "h": 97.3
  },
  "luminance": 0.57561
}

Semantic roles & 50–950 ramp

primary
#DBC871
secondary
#4658AA
accent
#3DC71E
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #DBC871

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

Preview Lab → · Contrast checker → · Palette generator →

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