#DBDB42#DBDB42

#DBDB42 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.5% C 0.167 H 109.4°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DBDB42
RGBrgb(219, 219, 66)
HSLhsl(60, 68%, 56%)
HSVhsv(60, 70%, 86%)
CMYKcmyk(0%, 0%, 69.9%, 14.1%)
CIE-LABlab(85.06, -17.60, 70.96)
CIE-LCHlch(85.06, 73.11, 103.93°)
OKLaboklab(86.51% -0.0555 0.1574)
OKLCHoklch(86.51% 0.167 109.4)
XYZxyz(55.5303, 66.1181, 14.9901)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBDB42 #4242DB
analogous
#DB8E42 #DBDB42 #8EDB42
triadic
#DBDB42 #42DBDB #DB42DB
tetradic
#DBDB42 #42DB8E #4242DB #DB428E
square
#DBDB42 #42DB8E #4242DB #DB428E
split-complementary
#DBDB42 #428EDB #8E42DB
monochromatic
#89891A #BCBC24 #DBDB42 #E5E575 #EFEFA9

Accessibility & contrast

On white

1.48
#DBDB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#DBDB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBDB42
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBDB42#FFFFFF#000000##000000
##DBDB421.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD227
Deuteranopia (green-blind)
#EED74D
Tritanopia (blue-blind)
#EACDBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dbdb42;
/* rgb */ color: rgb(219, 219, 66);
/* oklch */ color: oklch(86.5% 0.167 109.4);
Tailwind
colors: {
  custom: {
    50: '#eae580',
    500: '#dbdb42',
    950: '#000000',
  },
}
SCSS
$custom: #dbdb42;
$custom-light: #eae580;
$custom-dark: #000000;
JSON
{
  "hex": "#dbdb42",
  "rgb": {
    "r": 219,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86513,
    "c": 0.16695,
    "h": 109.4
  },
  "luminance": 0.66116
}

Semantic roles & 50–950 ramp

primary
#DBDB42
secondary
#33338F
accent
#3DEB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DBDB42

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

Preview Lab → · Contrast checker → · Palette generator →

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