#DBD158#DBD158

#DBD158 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.142 H 104.6°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#DBD158
RGBrgb(219, 209, 88)
HSLhsl(55, 65%, 60%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 4.6%, 59.8%, 14.1%)
CIE-LABlab(82.58, -11.35, 59.70)
CIE-LCHlch(82.58, 60.77, 100.77°)
OKLaboklab(84.59% -0.0356 0.137)
OKLCHoklch(84.59% 0.142 104.6)
XYZxyz(53.7772, 61.3675, 18.2430)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD158 #5862DB
analogous
#DB9058 #DBD158 #A3DB58
triadic
#DBD158 #58DBD1 #D158DB
tetradic
#DBD158 #58DB90 #5862DB #DB58A3
square
#DBD158 #58DB90 #5862DB #DB58A3
split-complementary
#DBD158 #58A3DB #9058DB
monochromatic
#988F21 #CABE2C #DBD158 #E6DF8A #F1EDBD

Accessibility & contrast

On white

1.58
#DBD158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#DBD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD158
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD158#FFFFFF#000000##000000
##DBD1581.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4A
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#EAC4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dbd158;
/* rgb */ color: rgb(219, 209, 88);
/* oklch */ color: oklch(84.6% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#e9de8c',
    500: '#dbd158',
    950: '#000000',
  },
}
SCSS
$custom: #dbd158;
$custom-light: #e9de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd158",
  "rgb": {
    "r": 219,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 55.42,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84588,
    "c": 0.14156,
    "h": 104.6
  },
  "luminance": 0.61366
}

Semantic roles & 50–950 ramp

primary
#DBD158
secondary
#3B429C
accent
#27CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DBD158

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

Preview Lab → · Contrast checker → · Palette generator →

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