#DBD962#DBD962

#DBD962 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.141 H 108.1°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DBD962
RGBrgb(219, 217, 98)
HSLhsl(59, 63%, 62%)
HSVhsv(59, 55%, 86%)
CMYKcmyk(0%, 0.9%, 55.3%, 14.1%)
CIE-LABlab(84.78, -14.63, 57.75)
CIE-LCHlch(84.78, 59.57, 104.22°)
OKLaboklab(86.37% -0.0439 0.1341)
OKLCHoklch(86.37% 0.141 108.1)
XYZxyz(56.2324, 65.5692, 21.2469)
Luminance0.6557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD962 #6264DB
analogous
#DB9C62 #DBD962 #A1DB62
triadic
#DBD962 #62DBD9 #D962DB
tetradic
#DBD962 #62DB9C #6264DB #DB62A1
square
#DBD962 #62DB9C #6264DB #DB62A1
split-complementary
#DBD962 #62A1DB #9C62DB
monochromatic
#9E9C24 #D0CD30 #DBD962 #E6E594 #F2F1C6

Accessibility & contrast

On white

1.49
#DBD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#DBD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD962
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD962#FFFFFF#000000##000000
##DBD9621.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#E9CDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dbd962;
/* rgb */ color: rgb(219, 217, 98);
/* oklch */ color: oklch(86.4% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#e9e492',
    500: '#dbd962',
    950: '#000000',
  },
}
SCSS
$custom: #dbd962;
$custom-light: #e9e492;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd962",
  "rgb": {
    "r": 219,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 59.008,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86369,
    "c": 0.14106,
    "h": 108.1
  },
  "luminance": 0.65568
}

Semantic roles & 50–950 ramp

primary
#DBD962
secondary
#3F41A2
accent
#1ECA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DBD962

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

Preview Lab → · Contrast checker → · Palette generator →

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