#DBD54F#DBD54F

#DBD54F is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.152 H 106.8°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DBD54F
RGBrgb(219, 213, 79)
HSLhsl(57, 66%, 58%)
HSVhsv(57, 64%, 86%)
CMYKcmyk(0%, 2.7%, 63.9%, 14.1%)
CIE-LABlab(83.56, -13.93, 64.52)
CIE-LCHlch(83.56, 66.01, 102.18°)
OKLaboklab(85.34% -0.0439 0.146)
OKLCHoklch(85.34% 0.152 106.8)
XYZxyz(54.4209, 63.2149, 16.7306)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD54F #4F55DB
analogous
#DB8F4F #DBD54F #9BDB4F
triadic
#DBD54F #4FDBD5 #D54FDB
tetradic
#DBD54F #4FDB8F #4F55DB #DB4F9B
square
#DBD54F #4FDB8F #4F55DB #DB4F9B
split-complementary
#DBD54F #4F9BDB #8F4FDB
monochromatic
#928D1E #C5BE28 #DBD54F #E5E182 #F0EDB5

Accessibility & contrast

On white

1.54
#DBD54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#DBD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD54F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD54F#FFFFFF#000000##000000
##DBD54F1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#E9D357
Tritanopia (blue-blind)
#EAC8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dbd54f;
/* rgb */ color: rgb(219, 213, 79);
/* oklch */ color: oklch(85.3% 0.152 106.8);
Tailwind
colors: {
  custom: {
    50: '#e9e187',
    500: '#dbd54f',
    950: '#000000',
  },
}
SCSS
$custom: #dbd54f;
$custom-light: #e9e187;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd54f",
  "rgb": {
    "r": 219,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 57.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85344,
    "c": 0.15242,
    "h": 106.8
  },
  "luminance": 0.63213
}

Semantic roles & 50–950 ramp

primary
#DBD54F
secondary
#373C97
accent
#46E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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