#DBC251#DBC251

#DBC251 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.134 H 96.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DBC251
RGBrgb(219, 194, 81)
HSLhsl(49, 66%, 59%)
HSVhsv(49, 63%, 86%)
CMYKcmyk(0%, 11.4%, 63%, 14.1%)
CIE-LABlab(78.60, -4.16, 58.41)
CIE-LCHlch(78.60, 58.56, 94.07°)
OKLaboklab(81.42% -0.0159 0.1333)
OKLCHoklch(81.42% 0.134 96.8)
XYZxyz(49.9926, 54.2401, 15.6191)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC251 #516ADB
analogous
#DB7D51 #DBC251 #AFDB51
triadic
#DBC251 #51DBC2 #C251DB
tetradic
#DBC251 #51DB7D #516ADB #DB51AF
square
#DBC251 #51DB7D #516ADB #DB51AF
split-complementary
#DBC251 #51AFDB #7D51DB
monochromatic
#937E1E #C6A929 #DBC251 #E5D484 #F0E6B6

Accessibility & contrast

On white

1.77
#DBC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#DBC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC251
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC251#FFFFFF#000000##000000
##DBC2511.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#EBB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dbc251;
/* rgb */ color: rgb(219, 194, 81);
/* oklch */ color: oklch(81.4% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#e9d486',
    500: '#dbc251',
    950: '#000000',
  },
}
SCSS
$custom: #dbc251;
$custom-light: #e9d486;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc251",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 49.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.13423,
    "h": 96.8
  },
  "luminance": 0.54238
}

Semantic roles & 50–950 ramp

primary
#DBC251
secondary
#384A98
accent
#5EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC251

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

Preview Lab → · Contrast checker → · Palette generator →

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