#DBB942#DBB942

#DBB942 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.139 H 92.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#DBB942
RGBrgb(219, 185, 66)
HSLhsl(47, 68%, 56%)
HSVhsv(47, 70%, 86%)
CMYKcmyk(0%, 15.5%, 69.9%, 14.1%)
CIE-LABlab(76.16, -0.34, 62.14)
CIE-LCHlch(76.16, 62.15, 90.31°)
OKLaboklab(79.45% -0.0067 0.1388)
OKLCHoklch(79.45% 0.139 92.7)
XYZxyz(47.5482, 50.1540, 12.3294)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB942 #4264DB
analogous
#DB6C42 #DBB942 #B0DB42
triadic
#DBB942 #42DBB9 #B942DB
tetradic
#DBB942 #42DB6C #4264DB #DB42B0
square
#DBB942 #42DB6C #4264DB #DB42B0
split-complementary
#DBB942 #42B0DB #6C42DB
monochromatic
#89701A #BC9A24 #DBB942 #E5CC75 #EFDFA9

Accessibility & contrast

On white

1.90
#DBB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#DBB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB942
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB942#FFFFFF#000000##000000
##DBB9421.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#ECAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dbb942;
/* rgb */ color: rgb(219, 185, 66);
/* oklch */ color: oklch(79.4% 0.139 92.7);
Tailwind
colors: {
  custom: {
    50: '#eacd7d',
    500: '#dbb942',
    950: '#000000',
  },
}
SCSS
$custom: #dbb942;
$custom-light: #eacd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb942",
  "rgb": {
    "r": 219,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 46.667,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79449,
    "c": 0.13896,
    "h": 92.7
  },
  "luminance": 0.50151
}

Semantic roles & 50–950 ramp

primary
#DBB942
secondary
#33478F
accent
#64EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DBB942

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

Preview Lab → · Contrast checker → · Palette generator →

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