#DBD952#DBD952

#DBD952 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.2% C 0.154 H 108.4°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#DBD952
RGBrgb(219, 217, 82)
HSLhsl(59, 66%, 59%)
HSVhsv(59, 63%, 86%)
CMYKcmyk(0%, 0.9%, 62.6%, 14.1%)
CIE-LABlab(84.64, -15.73, 64.44)
CIE-LCHlch(84.64, 66.34, 103.72°)
OKLaboklab(86.21% -0.0487 0.1462)
OKLCHoklch(86.21% 0.154 108.4)
XYZxyz(55.5511, 65.2966, 17.6583)
Luminance0.6530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD952 #5254DB
analogous
#DB9552 #DBD952 #99DB52
triadic
#DBD952 #52DBD9 #D952DB
tetradic
#DBD952 #52DB95 #5254DB #DB5299
square
#DBD952 #52DB95 #5254DB #DB5299
split-complementary
#DBD952 #5299DB #9552DB
monochromatic
#94921F #C6C429 #DBD952 #E6E485 #F0EFB7

Accessibility & contrast

On white

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

On black

14.06
#DBD952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD952
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD952#FFFFFF#000000##000000
##DBD9521.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#ECD65A
Tritanopia (blue-blind)
#EACCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dbd952;
/* rgb */ color: rgb(219, 217, 82);
/* oklch */ color: oklch(86.2% 0.154 108.4);
Tailwind
colors: {
  custom: {
    50: '#e9e489',
    500: '#dbd952',
    950: '#000000',
  },
}
SCSS
$custom: #dbd952;
$custom-light: #e9e489;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd952",
  "rgb": {
    "r": 219,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 59.124,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86213,
    "c": 0.15412,
    "h": 108.4
  },
  "luminance": 0.65295
}

Semantic roles & 50–950 ramp

primary
#DBD952
secondary
#393A99
accent
#42E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD952

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

Preview Lab → · Contrast checker → · Palette generator →

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