#DBC271#DBC271

#DBC271 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.105 H 92.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#DBC271
RGBrgb(219, 194, 113)
HSLhsl(46, 60%, 65%)
HSVhsv(46, 48%, 86%)
CMYKcmyk(0%, 11.4%, 48.4%, 14.1%)
CIE-LABlab(78.95, -1.67, 43.75)
CIE-LCHlch(78.95, 43.78, 92.18°)
OKLaboklab(81.8% -0.005 0.1049)
OKLCHoklch(81.8% 0.105 92.8)
XYZxyz(51.4875, 54.8381, 23.4923)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC271 #718ADB
analogous
#DB8D71 #DBC271 #BFDB71
triadic
#DBC271 #71DBC2 #C271DB
tetradic
#DBC271 #71DB8D #718ADB #DB71BF
square
#DBC271 #71DB8D #718ADB #DB71BF
split-complementary
#DBC271 #71BFDB #8D71DB
monochromatic
#A78A2A #CFAD40 #DBC271 #E7D7A2 #F4ECD3

Accessibility & contrast

On white

1.75
#DBC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#DBC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC271
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC271#FFFFFF#000000##000000
##DBC2711.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF6A
Deuteranopia (green-blind)
#D8C774
Tritanopia (blue-blind)
#E9B7AF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc271;
/* rgb */ color: rgb(219, 194, 113);
/* oklch */ color: oklch(81.8% 0.105 92.8);
Tailwind
colors: {
  custom: {
    50: '#e8d49b',
    500: '#dbc271',
    950: '#000000',
  },
}
SCSS
$custom: #dbc271;
$custom-light: #e8d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc271",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 45.849,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.818,
    "c": 0.10503,
    "h": 92.8
  },
  "luminance": 0.54836
}

Semantic roles & 50–950 ramp

primary
#DBC271
secondary
#465EAA
accent
#46C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DBC271

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

Preview Lab → · Contrast checker → · Palette generator →

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