#DBD74F#DBD74F

#DBD74F is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.154 H 107.6°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DBD74F
RGBrgb(219, 215, 79)
HSLhsl(58, 66%, 58%)
HSVhsv(58, 64%, 86%)
CMYKcmyk(0%, 1.8%, 63.9%, 14.1%)
CIE-LABlab(84.08, -14.92, 65.08)
CIE-LCHlch(84.08, 66.77, 102.92°)
OKLaboklab(85.77% -0.0467 0.1471)
OKLCHoklch(85.77% 0.154 107.6)
XYZxyz(54.9270, 64.2272, 16.8994)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD74F #4F53DB
analogous
#DB914F #DBD74F #99DB4F
triadic
#DBD74F #4FDBD7 #D74FDB
tetradic
#DBD74F #4FDB91 #4F53DB #DB4F99
square
#DBD74F #4FDB91 #4F53DB #DB4F99
split-complementary
#DBD74F #4F99DB #914FDB
monochromatic
#928E1E #C5C028 #DBD74F #E5E382 #F0EEB5

Accessibility & contrast

On white

1.52
#DBD74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#DBD74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD74F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD74F#FFFFFF#000000##000000
##DBD74F1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#EACABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dbd74f;
/* rgb */ color: rgb(219, 215, 79);
/* oklch */ color: oklch(85.8% 0.154 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e387',
    500: '#dbd74f',
    950: '#000000',
  },
}
SCSS
$custom: #dbd74f;
$custom-light: #e9e387;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd74f",
  "rgb": {
    "r": 219,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 58.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85765,
    "c": 0.15436,
    "h": 107.6
  },
  "luminance": 0.64225
}

Semantic roles & 50–950 ramp

primary
#DBD74F
secondary
#373A97
accent
#44E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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