#DBD252#DBD252

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

Color values

HEX#DBD252
RGBrgb(219, 210, 82)
HSLhsl(56, 66%, 59%)
HSVhsv(56, 63%, 86%)
CMYKcmyk(0%, 4.1%, 62.6%, 14.1%)
CIE-LABlab(82.79, -12.24, 62.48)
CIE-LCHlch(82.79, 63.67, 101.09°)
OKLaboklab(84.74% -0.0388 0.1421)
OKLCHoklch(84.74% 0.147 105.3)
XYZxyz(53.7849, 61.7643, 17.0696)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD252 #525BDB
analogous
#DB8E52 #DBD252 #A0DB52
triadic
#DBD252 #52DBD2 #D252DB
tetradic
#DBD252 #52DB8E #525BDB #DB52A0
square
#DBD252 #52DB8E #525BDB #DB52A0
split-complementary
#DBD252 #52A0DB #8E52DB
monochromatic
#948C1F #C6BC29 #DBD252 #E6DF85 #F0ECB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBD252#FFFFFF#000000##000000
##DBD2521.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)
#E3CB42
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#EAC5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dbd252;
/* rgb */ color: rgb(219, 210, 82);
/* oklch */ color: oklch(84.7% 0.147 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9df88',
    500: '#dbd252',
    950: '#000000',
  },
}
SCSS
$custom: #dbd252;
$custom-light: #e9df88;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd252",
  "rgb": {
    "r": 219,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 56.058,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8474,
    "c": 0.14728,
    "h": 105.3
  },
  "luminance": 0.61762
}

Semantic roles & 50–950 ramp

primary
#DBD252
secondary
#393F99
accent
#4AE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DBD252

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

Preview Lab → · Contrast checker → · Palette generator →

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