#DBD254#DBD254

#DBD254 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.146 H 105.2°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#DBD254
RGBrgb(219, 210, 84)
HSLhsl(56, 65%, 59%)
HSVhsv(56, 62%, 86%)
CMYKcmyk(0%, 4.1%, 61.6%, 14.1%)
CIE-LABlab(82.80, -12.12, 61.66)
CIE-LCHlch(82.80, 62.84, 101.12°)
OKLaboklab(84.76% -0.0383 0.1406)
OKLCHoklch(84.76% 0.146 105.2)
XYZxyz(53.8621, 61.7952, 17.4762)
Luminance0.6179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD254 #545DDB
analogous
#DB8F54 #DBD254 #A1DB54
triadic
#DBD254 #54DBD2 #D254DB
tetradic
#DBD254 #54DB8F #545DDB #DB54A1
square
#DBD254 #54DB8F #545DDB #DB54A1
split-complementary
#DBD254 #54A1DB #8F54DB
monochromatic
#958D1F #C8BD2A #DBD254 #E6DF87 #F0EDB9

Accessibility & contrast

On white

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

On black

13.36
#DBD254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD254
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD254#FFFFFF#000000##000000
##DBD2541.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbd254;
/* rgb */ color: rgb(219, 210, 84);
/* oklch */ color: oklch(84.8% 0.146 105.2);
Tailwind
colors: {
  custom: {
    50: '#e9df89',
    500: '#dbd254',
    950: '#000000',
  },
}
SCSS
$custom: #dbd254;
$custom-light: #e9df89;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd254",
  "rgb": {
    "r": 219,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 56,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84759,
    "c": 0.14573,
    "h": 105.2
  },
  "luminance": 0.61793
}

Semantic roles & 50–950 ramp

primary
#DBD254
secondary
#39409A
accent
#4BE840
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DBD254

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

Preview Lab → · Contrast checker → · Palette generator →

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