#DBC457#DBC457

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

Color values

HEX#DBC457
RGBrgb(219, 196, 87)
HSLhsl(50, 65%, 60%)
HSVhsv(50, 60%, 86%)
CMYKcmyk(0%, 10.5%, 60.3%, 14.1%)
CIE-LABlab(79.17, -4.79, 56.39)
CIE-LCHlch(79.17, 56.59, 94.86°)
OKLaboklab(81.88% -0.017 0.1298)
OKLCHoklch(81.88% 0.131 97.5)
XYZxyz(50.6757, 55.2303, 17.0062)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC457 #576EDB
analogous
#DB8257 #DBC457 #B0DB57
triadic
#DBC457 #57DBC4 #C457DB
tetradic
#DBC457 #57DB82 #576EDB #DB57B0
square
#DBC457 #57DB82 #576EDB #DB57B0
split-complementary
#DBC457 #57B0DB #8257DB
monochromatic
#978220 #CAAE2B #DBC457 #E6D689 #F1E7BC

Accessibility & contrast

On white

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

On black

12.05
#DBC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC457
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC457#FFFFFF#000000##000000
##DBC4571.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbc457;
/* rgb */ color: rgb(219, 196, 87);
/* oklch */ color: oklch(81.9% 0.131 97.5);
Tailwind
colors: {
  custom: {
    50: '#e9d58a',
    500: '#dbc457',
    950: '#000000',
  },
}
SCSS
$custom: #dbc457;
$custom-light: #e9d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc457",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 49.545,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.13091,
    "h": 97.5
  },
  "luminance": 0.55228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DBC457

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

Preview Lab → · Contrast checker → · Palette generator →

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