#DBB840#DBB840

#DBB840 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.140 H 92.3°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#DBB840
RGBrgb(219, 184, 64)
HSLhsl(46, 68%, 55%)
HSVhsv(46, 71%, 86%)
CMYKcmyk(0%, 16%, 70.8%, 14.1%)
CIE-LABlab(75.89, 0.08, 62.67)
CIE-LCHlch(75.89, 62.67, 89.92°)
OKLaboklab(79.23% -0.0057 0.1396)
OKLCHoklch(79.23% 0.14 92.3)
XYZxyz(47.2818, 49.7140, 11.9548)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB840 #4063DB
analogous
#DB6B40 #DBB840 #B0DB40
triadic
#DBB840 #40DBB8 #B840DB
tetradic
#DBB840 #40DB6B #4063DB #DB40B0
square
#DBB840 #40DB6B #4063DB #DB40B0
split-complementary
#DBB840 #40B0DB #6B40DB
monochromatic
#876E19 #BB9823 #DBB840 #E5CB73 #EEDEA7

Accessibility & contrast

On white

1.92
#DBB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#DBB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB840
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB840#FFFFFF#000000##000000
##DBB8401.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52F
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#EDA9A0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dbb840;
/* rgb */ color: rgb(219, 184, 64);
/* oklch */ color: oklch(79.2% 0.140 92.3);
Tailwind
colors: {
  custom: {
    50: '#eacc7c',
    500: '#dbb840',
    950: '#000000',
  },
}
SCSS
$custom: #dbb840;
$custom-light: #eacc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb840",
  "rgb": {
    "r": 219,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 46.452,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79231,
    "c": 0.13967,
    "h": 92.3
  },
  "luminance": 0.49711
}

Semantic roles & 50–950 ramp

primary
#DBB840
secondary
#9BAADC
accent
#64EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DBB840

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

Preview Lab → · Contrast checker → · Palette generator →

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