#DBD271#DBD271

#DBD271 is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.120 H 103.9°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DBD271
RGBrgb(219, 210, 113)
HSLhsl(55, 60%, 65%)
HSVhsv(55, 48%, 86%)
CMYKcmyk(0%, 4.1%, 48.4%, 14.1%)
CIE-LABlab(83.10, -9.88, 48.81)
CIE-LCHlch(83.10, 49.80, 101.44°)
OKLaboklab(85.09% -0.0287 0.1161)
OKLCHoklch(85.09% 0.12 103.9)
XYZxyz(55.2421, 62.3472, 24.7438)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD271 #717ADB
analogous
#DB9D71 #DBD271 #AFDB71
triadic
#DBD271 #71DBD2 #D271DB
tetradic
#DBD271 #71DB9D #717ADB #DB71AF
square
#DBD271 #71DB9D #717ADB #DB71AF
split-complementary
#DBD271 #71AFDB #9D71DB
monochromatic
#A79D2A #CFC340 #DBD271 #E7E1A2 #F4F1D3

Accessibility & contrast

On white

1.56
#DBD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#DBD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD271
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD271#FFFFFF#000000##000000
##DBD2711.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC69
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#E8C7BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dbd271;
/* rgb */ color: rgb(219, 210, 113);
/* oklch */ color: oklch(85.1% 0.120 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8df9c',
    500: '#dbd271',
    950: '#000000',
  },
}
SCSS
$custom: #dbd271;
$custom-light: #e8df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd271",
  "rgb": {
    "r": 219,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 54.906,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85087,
    "c": 0.11962,
    "h": 103.9
  },
  "luminance": 0.62346
}

Semantic roles & 50–950 ramp

primary
#DBD271
secondary
#464FAA
accent
#2DC71E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #DBD271

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

Preview Lab → · Contrast checker → · Palette generator →

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