#DBC54F#DBC54F

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

Color values

HEX#DBC54F
RGBrgb(219, 197, 79)
HSLhsl(51, 66%, 58%)
HSVhsv(51, 64%, 86%)
CMYKcmyk(0%, 10%, 63.9%, 14.1%)
CIE-LABlab(79.36, -5.83, 60.09)
CIE-LCHlch(79.36, 60.37, 95.54°)
OKLaboklab(82.01% -0.0209 0.1366)
OKLCHoklch(82.01% 0.138 98.7)
XYZxyz(50.5931, 55.5594, 15.4547)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC54F #4F65DB
analogous
#DB7F4F #DBC54F #ABDB4F
triadic
#DBC54F #4FDBC5 #C54FDB
tetradic
#DBC54F #4FDB7F #4F65DB #DB4FAB
square
#DBC54F #4FDB7F #4F65DB #DB4FAB
split-complementary
#DBC54F #4FABDB #7F4FDB
monochromatic
#92801E #C5AC28 #DBC54F #E5D682 #F0E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBC54F#FFFFFF#000000##000000
##DBC54F1.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)
#D7C041
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#EBB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dbc54f;
/* rgb */ color: rgb(219, 197, 79);
/* oklch */ color: oklch(82.0% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#e9d685',
    500: '#dbc54f',
    950: '#000000',
  },
}
SCSS
$custom: #dbc54f;
$custom-light: #e9d685;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc54f",
  "rgb": {
    "r": 219,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 50.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82012,
    "c": 0.13816,
    "h": 98.7
  },
  "luminance": 0.55557
}

Semantic roles & 50–950 ramp

primary
#DBC54F
secondary
#374697
accent
#5AE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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