#DBC451#DBC451

#DBC451 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.136 H 98.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DBC451
RGBrgb(219, 196, 81)
HSLhsl(50, 66%, 59%)
HSVhsv(50, 63%, 86%)
CMYKcmyk(0%, 10.5%, 63%, 14.1%)
CIE-LABlab(79.12, -5.19, 58.97)
CIE-LCHlch(79.12, 59.20, 95.03°)
OKLaboklab(81.83% -0.0188 0.1345)
OKLCHoklch(81.83% 0.136 98)
XYZxyz(50.4407, 55.1363, 15.7685)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC451 #5168DB
analogous
#DB7F51 #DBC451 #ADDB51
triadic
#DBC451 #51DBC4 #C451DB
tetradic
#DBC451 #51DB7F #5168DB #DB51AD
square
#DBC451 #51DB7F #5168DB #DB51AD
split-complementary
#DBC451 #51ADDB #7F51DB
monochromatic
#93801E #C6AC29 #DBC451 #E5D584 #F0E6B6

Accessibility & contrast

On white

1.75
#DBC451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DBC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC451
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC451#FFFFFF#000000##000000
##DBC4511.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#EBB6AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc451;
/* rgb */ color: rgb(219, 196, 81);
/* oklch */ color: oklch(81.8% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e9d587',
    500: '#dbc451',
    950: '#000000',
  },
}
SCSS
$custom: #dbc451;
$custom-light: #e9d587;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc451",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 50,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81825,
    "c": 0.1358,
    "h": 98
  },
  "luminance": 0.55134
}

Semantic roles & 50–950 ramp

primary
#DBC451
secondary
#384898
accent
#5BE93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC451

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

Preview Lab → · Contrast checker → · Palette generator →

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