#DBC256#DBC256

#DBC256 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.130 H 96.3°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#DBC256
RGBrgb(219, 194, 86)
HSLhsl(49, 65%, 60%)
HSVhsv(49, 61%, 86%)
CMYKcmyk(0%, 11.4%, 60.7%, 14.1%)
CIE-LABlab(78.65, -3.83, 56.25)
CIE-LCHlch(78.65, 56.38, 93.90°)
OKLaboklab(81.47% -0.0143 0.1294)
OKLCHoklch(81.47% 0.13 96.3)
XYZxyz(50.1870, 54.3179, 16.6432)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC256 #566FDB
analogous
#DB8056 #DBC256 #B1DB56
triadic
#DBC256 #56DBC2 #C256DB
tetradic
#DBC256 #56DB80 #566FDB #DB56B1
square
#DBC256 #56DB80 #566FDB #DB56B1
split-complementary
#DBC256 #56B1DB #8056DB
monochromatic
#978020 #C9AB2B #DBC256 #E6D488 #F0E6BB

Accessibility & contrast

On white

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

On black

11.86
#DBC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC256
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC256#FFFFFF#000000##000000
##DBC2561.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#EBB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc256;
/* rgb */ color: rgb(219, 194, 86);
/* oklch */ color: oklch(81.5% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#e9d48a',
    500: '#dbc256',
    950: '#000000',
  },
}
SCSS
$custom: #dbc256;
$custom-light: #e9d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc256",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 48.722,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81465,
    "c": 0.13017,
    "h": 96.3
  },
  "luminance": 0.54316
}

Semantic roles & 50–950 ramp

primary
#DBC256
secondary
#3A4C9B
accent
#60E840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DBC256

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

Preview Lab → · Contrast checker → · Palette generator →

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