#DBC54E#DBC54E

#DBC54E is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.139 H 98.8°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#DBC54E
RGBrgb(219, 197, 78)
HSLhsl(51, 66%, 58%)
HSVhsv(51, 64%, 86%)
CMYKcmyk(0%, 10%, 64.4%, 14.1%)
CIE-LABlab(79.35, -5.89, 60.51)
CIE-LCHlch(79.35, 60.79, 95.56°)
OKLaboklab(82% -0.0212 0.1373)
OKLCHoklch(82% 0.139 98.8)
XYZxyz(50.5570, 55.5449, 15.2645)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC54E #4E64DB
analogous
#DB7E4E #DBC54E #ABDB4E
triadic
#DBC54E #4EDBC5 #C54EDB
tetradic
#DBC54E #4EDB7E #4E64DB #DB4EAB
square
#DBC54E #4EDB7E #4E64DB #DB4EAB
split-complementary
#DBC54E #4EABDB #7E4EDB
monochromatic
#917F1E #C4AC28 #DBC54E #E5D681 #F0E6B4

Accessibility & contrast

On white

1.73
#DBC54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#DBC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC54E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC54E#FFFFFF#000000##000000
##DBC54E1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C040
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#EBB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dbc54e;
/* rgb */ color: rgb(219, 197, 78);
/* oklch */ color: oklch(82.0% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#e9d685',
    500: '#dbc54e',
    950: '#000000',
  },
}
SCSS
$custom: #dbc54e;
$custom-light: #e9d685;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc54e",
  "rgb": {
    "r": 219,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 50.638,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82003,
    "c": 0.13892,
    "h": 98.8
  },
  "luminance": 0.55543
}

Semantic roles & 50–950 ramp

primary
#DBC54E
secondary
#374696
accent
#59E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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