#DBC157#DBC157

#DBC157 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.129 H 95.6°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#DBC157
RGBrgb(219, 193, 87)
HSLhsl(48, 65%, 60%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 11.9%, 60.3%, 14.1%)
CIE-LABlab(78.40, -3.24, 55.52)
CIE-LCHlch(78.40, 55.62, 93.34°)
OKLaboklab(81.27% -0.0125 0.128)
OKLCHoklch(81.27% 0.129 95.6)
XYZxyz(50.0058, 53.8905, 16.7829)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC157 #5771DB
analogous
#DB7F57 #DBC157 #B3DB57
triadic
#DBC157 #57DBC1 #C157DB
tetradic
#DBC157 #57DB7F #5771DB #DB57B3
square
#DBC157 #57DB7F #5771DB #DB57B3
split-complementary
#DBC157 #57B3DB #7F57DB
monochromatic
#978020 #CAAA2B #DBC157 #E6D489 #F1E6BC

Accessibility & contrast

On white

1.78
#DBC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#DBC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC157
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC157#FFFFFF#000000##000000
##DBC1571.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbc157;
/* rgb */ color: rgb(219, 193, 87);
/* oklch */ color: oklch(81.3% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#e9d38a',
    500: '#dbc157',
    950: '#000000',
  },
}
SCSS
$custom: #dbc157;
$custom-light: #e9d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc157",
  "rgb": {
    "r": 219,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 48.182,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.81271,
    "c": 0.12857,
    "h": 95.6
  },
  "luminance": 0.53888
}

Semantic roles & 50–950 ramp

primary
#DBC157
secondary
#3B4E9C
accent
#61E840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DBC157

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

Preview Lab → · Contrast checker → · Palette generator →

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