#DBD152#DBD152

#DBD152 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.146 H 104.8°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#DBD152
RGBrgb(219, 209, 82)
HSLhsl(56, 66%, 59%)
HSVhsv(56, 63%, 86%)
CMYKcmyk(0%, 4.6%, 62.6%, 14.1%)
CIE-LABlab(82.52, -11.74, 62.20)
CIE-LCHlch(82.52, 63.30, 100.69°)
OKLaboklab(84.53% -0.0374 0.1415)
OKLCHoklch(84.53% 0.146 104.8)
XYZxyz(53.5388, 61.2721, 16.9875)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD152 #525CDB
analogous
#DB8D52 #DBD152 #A1DB52
triadic
#DBD152 #52DBD1 #D152DB
tetradic
#DBD152 #52DB8D #525CDB #DB52A1
square
#DBD152 #52DB8D #525CDB #DB52A1
split-complementary
#DBD152 #52A1DB #8D52DB
monochromatic
#948B1F #C6BB29 #DBD152 #E6DE85 #F0ECB7

Accessibility & contrast

On white

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

On black

13.25
#DBD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD152
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD152#FFFFFF#000000##000000
##DBD1521.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#EAC4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dbd152;
/* rgb */ color: rgb(219, 209, 82);
/* oklch */ color: oklch(84.5% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e9de88',
    500: '#dbd152',
    950: '#000000',
  },
}
SCSS
$custom: #dbd152;
$custom-light: #e9de88;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd152",
  "rgb": {
    "r": 219,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 55.62,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84531,
    "c": 0.14634,
    "h": 104.8
  },
  "luminance": 0.6127
}

Semantic roles & 50–950 ramp

primary
#DBD152
secondary
#394099
accent
#4CE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD152

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

Preview Lab → · Contrast checker → · Palette generator →

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