#DBB938#DBB938

#DBB938 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.4% C 0.145 H 93.6°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#DBB938
RGBrgb(219, 185, 56)
HSLhsl(47, 69%, 54%)
HSVhsv(47, 74%, 86%)
CMYKcmyk(0%, 15.5%, 74.4%, 14.1%)
CIE-LABlab(76.10, -0.80, 65.89)
CIE-LCHlch(76.10, 65.90, 90.70°)
OKLaboklab(79.38% -0.0091 0.1449)
OKLCHoklch(79.38% 0.145 93.6)
XYZxyz(47.2788, 50.0463, 10.9103)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB938 #385ADB
analogous
#DB6838 #DBB938 #ACDB38
triadic
#DBB938 #38DBB9 #B938DB
tetradic
#DBB938 #38DB68 #385ADB #DB38AC
square
#DBB938 #38DB68 #385ADB #DB38AC
split-complementary
#DBB938 #38ACDB #6838DB
monochromatic
#816B17 #B59621 #DBB938 #E4CB6C #EEDDA0

Accessibility & contrast

On white

1.91
#DBB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#DBB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB938
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB938#FFFFFF#000000##000000
##DBB9381.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB621
Deuteranopia (green-blind)
#D5C040
Tritanopia (blue-blind)
#EDAAA0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dbb938;
/* rgb */ color: rgb(219, 185, 56);
/* oklch */ color: oklch(79.4% 0.145 93.6);
Tailwind
colors: {
  custom: {
    50: '#eacd78',
    500: '#dbb938',
    950: '#000000',
  },
}
SCSS
$custom: #dbb938;
$custom-light: #eacd78;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb938",
  "rgb": {
    "r": 219,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 47.485,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79376,
    "c": 0.14517,
    "h": 93.6
  },
  "luminance": 0.50044
}

Semantic roles & 50–950 ramp

primary
#DBB938
secondary
#2F4288
accent
#60EC3C
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DBB938

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

Preview Lab → · Contrast checker → · Palette generator →

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