#DBD771#DBD771

#DBD771 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.125 H 106.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#DBD771
RGBrgb(219, 215, 113)
HSLhsl(58, 60%, 65%)
HSVhsv(58, 48%, 86%)
CMYKcmyk(0%, 1.8%, 48.4%, 14.1%)
CIE-LABlab(84.41, -12.40, 50.39)
CIE-LCHlch(84.41, 51.89, 103.82°)
OKLaboklab(86.13% -0.036 0.1196)
OKLCHoklch(86.13% 0.125 106.7)
XYZxyz(56.4958, 64.8547, 25.1617)
Luminance0.6485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD771 #7175DB
analogous
#DBA271 #DBD771 #AADB71
triadic
#DBD771 #71DBD7 #D771DB
tetradic
#DBD771 #71DBA2 #7175DB #DB71AA
square
#DBD771 #71DBA2 #7175DB #DB71AA
split-complementary
#DBD771 #71AADB #A271DB
monochromatic
#A7A22A #CFC940 #DBD771 #E7E5A2 #F4F3D3

Accessibility & contrast

On white

1.50
#DBD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#DBD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD771
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD771#FFFFFF#000000##000000
##DBD7711.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#E8D576
Tritanopia (blue-blind)
#E8CCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dbd771;
/* rgb */ color: rgb(219, 215, 113);
/* oklch */ color: oklch(86.1% 0.125 106.7);
Tailwind
colors: {
  custom: {
    50: '#e8e39c',
    500: '#dbd771',
    950: '#000000',
  },
}
SCSS
$custom: #dbd771;
$custom-light: #e8e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd771",
  "rgb": {
    "r": 219,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 57.736,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86129,
    "c": 0.12487,
    "h": 106.7
  },
  "luminance": 0.64853
}

Semantic roles & 50–950 ramp

primary
#DBD771
secondary
#464AAA
accent
#25C71E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #DBD771

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

Preview Lab → · Contrast checker → · Palette generator →

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