#DBD74C#DBD74C

#DBD74C is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.157 H 107.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DBD74C
RGBrgb(219, 215, 76)
HSLhsl(58, 67%, 58%)
HSVhsv(58, 65%, 86%)
CMYKcmyk(0%, 1.8%, 65.3%, 14.1%)
CIE-LABlab(84.06, -15.10, 66.24)
CIE-LCHlch(84.06, 67.94, 102.84°)
OKLaboklab(85.74% -0.0475 0.1491)
OKLCHoklch(85.74% 0.157 107.7)
XYZxyz(54.8203, 64.1845, 16.3372)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD74C #4C50DB
analogous
#DB904C #DBD74C #97DB4C
triadic
#DBD74C #4CDBD7 #D74CDB
tetradic
#DBD74C #4CDB90 #4C50DB #DB4C97
square
#DBD74C #4CDB90 #4C50DB #DB4C97
split-complementary
#DBD74C #4C97DB #904CDB
monochromatic
#908C1D #C3BE27 #DBD74C #E5E27F #EFEEB2

Accessibility & contrast

On white

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

On black

13.84
#DBD74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD74C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD74C#FFFFFF#000000##000000
##DBD74C1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbd74c;
/* rgb */ color: rgb(219, 215, 76);
/* oklch */ color: oklch(85.7% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#e9e385',
    500: '#dbd74c',
    950: '#000000',
  },
}
SCSS
$custom: #dbd74c;
$custom-light: #e9e385;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd74c",
  "rgb": {
    "r": 219,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 58.322,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8574,
    "c": 0.15651,
    "h": 107.7
  },
  "luminance": 0.64183
}

Semantic roles & 50–950 ramp

primary
#DBD74C
secondary
#363995
accent
#43E93E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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