#DBD162#DBD162

#DBD162 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.133 H 104.1°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#DBD162
RGBrgb(219, 209, 98)
HSLhsl(55, 63%, 62%)
HSVhsv(55, 55%, 86%)
CMYKcmyk(0%, 4.6%, 55.3%, 14.1%)
CIE-LABlab(82.67, -10.63, 55.35)
CIE-LCHlch(82.67, 56.36, 100.87°)
OKLaboklab(84.69% -0.0325 0.1289)
OKLCHoklch(84.69% 0.133 104.1)
XYZxyz(54.2202, 61.5447, 20.5761)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD162 #626CDB
analogous
#DB9462 #DBD162 #A9DB62
triadic
#DBD162 #62DBD1 #D162DB
tetradic
#DBD162 #62DB94 #626CDB #DB62A9
square
#DBD162 #62DB94 #626CDB #DB62A9
split-complementary
#DBD162 #62A9DB #9462DB
monochromatic
#9E9424 #D0C230 #DBD162 #E6E094 #F2EEC6

Accessibility & contrast

On white

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

On black

13.31
#DBD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD162
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD162#FFFFFF#000000##000000
##DBD1621.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E5D068
Tritanopia (blue-blind)
#E9C5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dbd162;
/* rgb */ color: rgb(219, 209, 98);
/* oklch */ color: oklch(84.7% 0.133 104.1);
Tailwind
colors: {
  custom: {
    50: '#e9de92',
    500: '#dbd162',
    950: '#000000',
  },
}
SCSS
$custom: #dbd162;
$custom-light: #e9de92;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd162",
  "rgb": {
    "r": 219,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 55.041,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84694,
    "c": 0.13294,
    "h": 104.1
  },
  "luminance": 0.61543
}

Semantic roles & 50–950 ramp

primary
#DBD162
secondary
#3F47A2
accent
#2ACA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DBD162

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

Preview Lab → · Contrast checker → · Palette generator →

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