#DBC456#DBC456

#DBC456 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.132 H 97.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#DBC456
RGBrgb(219, 196, 86)
HSLhsl(50, 65%, 60%)
HSVhsv(50, 61%, 86%)
CMYKcmyk(0%, 10.5%, 60.7%, 14.1%)
CIE-LABlab(79.16, -4.86, 56.82)
CIE-LCHlch(79.16, 57.03, 94.89°)
OKLaboklab(81.88% -0.0173 0.1306)
OKLCHoklch(81.88% 0.132 97.6)
XYZxyz(50.6352, 55.2141, 16.7925)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC456 #566DDB
analogous
#DB8256 #DBC456 #B0DB56
triadic
#DBC456 #56DBC4 #C456DB
tetradic
#DBC456 #56DB82 #566DDB #DB56B0
square
#DBC456 #56DB82 #566DDB #DB56B0
split-complementary
#DBC456 #56B0DB #8256DB
monochromatic
#978220 #C9AE2B #DBC456 #E6D688 #F0E7BB

Accessibility & contrast

On white

1.74
#DBC456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#DBC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC456
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC456#FFFFFF#000000##000000
##DBC4561.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#DCC75B
Tritanopia (blue-blind)
#EBB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc456;
/* rgb */ color: rgb(219, 196, 86);
/* oklch */ color: oklch(81.9% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#e9d58a',
    500: '#dbc456',
    950: '#000000',
  },
}
SCSS
$custom: #dbc456;
$custom-light: #e9d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc456",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 49.624,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81875,
    "c": 0.13174,
    "h": 97.6
  },
  "luminance": 0.55212
}

Semantic roles & 50–950 ramp

primary
#DBC456
secondary
#3A4B9B
accent
#5DE840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DBC456

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

Preview Lab → · Contrast checker → · Palette generator →

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