#DBD251#DBD251

#DBD251 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.148 H 105.3°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#DBD251
RGBrgb(219, 210, 81)
HSLhsl(56, 66%, 59%)
HSVhsv(56, 63%, 86%)
CMYKcmyk(0%, 4.1%, 63%, 14.1%)
CIE-LABlab(82.78, -12.31, 62.89)
CIE-LCHlch(82.78, 64.08, 101.07°)
OKLaboklab(84.73% -0.0391 0.1428)
OKLCHoklch(84.73% 0.148 105.3)
XYZxyz(53.7472, 61.7492, 16.8706)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD251 #515ADB
analogous
#DB8D51 #DBD251 #9FDB51
triadic
#DBD251 #51DBD2 #D251DB
tetradic
#DBD251 #51DB8D #515ADB #DB519F
square
#DBD251 #51DB8D #515ADB #DB519F
split-complementary
#DBD251 #519FDB #8D51DB
monochromatic
#938C1E #C6BC29 #DBD251 #E5DF84 #F0ECB6

Accessibility & contrast

On white

1.57
#DBD251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#DBD251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD251
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD251#FFFFFF#000000##000000
##DBD2511.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#EAC5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dbd251;
/* rgb */ color: rgb(219, 210, 81);
/* oklch */ color: oklch(84.7% 0.148 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9df88',
    500: '#dbd251',
    950: '#000000',
  },
}
SCSS
$custom: #dbd251;
$custom-light: #e9df88;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd251",
  "rgb": {
    "r": 219,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 56.087,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84731,
    "c": 0.14805,
    "h": 105.3
  },
  "luminance": 0.61747
}

Semantic roles & 50–950 ramp

primary
#DBD251
secondary
#383E98
accent
#4AE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD251

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

Preview Lab → · Contrast checker → · Palette generator →

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