#DBB940#DBB940

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

Color values

HEX#DBB940
RGBrgb(219, 185, 64)
HSLhsl(47, 68%, 55%)
HSVhsv(47, 71%, 86%)
CMYKcmyk(0%, 15.5%, 70.8%, 14.1%)
CIE-LABlab(76.15, -0.44, 62.92)
CIE-LCHlch(76.15, 62.93, 90.40°)
OKLaboklab(79.43% -0.0072 0.1401)
OKLCHoklch(79.43% 0.14 92.9)
XYZxyz(47.4903, 50.1309, 12.0243)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB940 #4062DB
analogous
#DB6C40 #DBB940 #AFDB40
triadic
#DBB940 #40DBB9 #B940DB
tetradic
#DBB940 #40DB6C #4062DB #DB40AF
square
#DBB940 #40DB6C #4062DB #DB40AF
split-complementary
#DBB940 #40AFDB #6C40DB
monochromatic
#876F19 #BB9923 #DBB940 #E5CC73 #EEDFA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBB940#FFFFFF#000000##000000
##DBB9401.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)
#CDB62E
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#EDAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dbb940;
/* rgb */ color: rgb(219, 185, 64);
/* oklch */ color: oklch(79.4% 0.140 92.9);
Tailwind
colors: {
  custom: {
    50: '#eacd7c',
    500: '#dbb940',
    950: '#000000',
  },
}
SCSS
$custom: #dbb940;
$custom-light: #eacd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb940",
  "rgb": {
    "r": 219,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 46.839,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79433,
    "c": 0.14027,
    "h": 92.9
  },
  "luminance": 0.50128
}

Semantic roles & 50–950 ramp

primary
#DBB940
secondary
#32468D
accent
#63EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DBB940

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

Preview Lab → · Contrast checker → · Palette generator →

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