#DBB540#DBB540

#DBB540 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.138 H 90.5°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#DBB540
RGBrgb(219, 181, 64)
HSLhsl(45, 68%, 55%)
HSVhsv(45, 71%, 86%)
CMYKcmyk(0%, 17.4%, 70.8%, 14.1%)
CIE-LABlab(75.13, 1.66, 61.90)
CIE-LCHlch(75.13, 61.92, 88.47°)
OKLaboklab(78.63% -0.0012 0.1379)
OKLCHoklch(78.63% 0.138 90.5)
XYZxyz(46.6653, 48.4808, 11.7493)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB540 #4066DB
analogous
#DB6740 #DBB540 #B4DB40
triadic
#DBB540 #40DBB5 #B540DB
tetradic
#DBB540 #40DB67 #4066DB #DB40B4
square
#DBB540 #40DB67 #4066DB #DB40B4
split-complementary
#DBB540 #40B4DB #6740DB
monochromatic
#876C19 #BB9523 #DBB540 #E5C973 #EEDDA7

Accessibility & contrast

On white

1.96
#DBB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#DBB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB540
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB540#FFFFFF#000000##000000
##DBB5401.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#EDA69D
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dbb540;
/* rgb */ color: rgb(219, 181, 64);
/* oklch */ color: oklch(78.6% 0.138 90.5);
Tailwind
colors: {
  custom: {
    50: '#eaca7c',
    500: '#dbb540',
    950: '#000000',
  },
}
SCSS
$custom: #dbb540;
$custom-light: #eaca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb540",
  "rgb": {
    "r": 219,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 45.29,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78626,
    "c": 0.13792,
    "h": 90.5
  },
  "luminance": 0.48478
}

Semantic roles & 50–950 ramp

primary
#DBB540
secondary
#9BABDC
accent
#67EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DBB540

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

Preview Lab → · Contrast checker → · Palette generator →

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