#DBB542#DBB542

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

Color values

HEX#DBB542
RGBrgb(219, 181, 66)
HSLhsl(45, 68%, 56%)
HSVhsv(45, 70%, 86%)
CMYKcmyk(0%, 17.4%, 69.9%, 14.1%)
CIE-LABlab(75.14, 1.76, 61.11)
CIE-LCHlch(75.14, 61.13, 88.35°)
OKLaboklab(78.64% -0.0006 0.1366)
OKLCHoklch(78.64% 0.137 90.3)
XYZxyz(46.7232, 48.5040, 12.0544)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB542 #4268DB
analogous
#DB6842 #DBB542 #B4DB42
triadic
#DBB542 #42DBB5 #B542DB
tetradic
#DBB542 #42DB68 #4268DB #DB42B4
square
#DBB542 #42DB68 #4268DB #DB42B4
split-complementary
#DBB542 #42B4DB #6842DB
monochromatic
#896D1A #BC9624 #DBB542 #E5C975 #EFDDA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBB542#FFFFFF#000000##000000
##DBB5421.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)
#C9B332
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#EDA69D
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dbb542;
/* rgb */ color: rgb(219, 181, 66);
/* oklch */ color: oklch(78.6% 0.137 90.3);
Tailwind
colors: {
  custom: {
    50: '#eaca7d',
    500: '#dbb542',
    950: '#000000',
  },
}
SCSS
$custom: #dbb542;
$custom-light: #eaca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb542",
  "rgb": {
    "r": 219,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 45.098,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78642,
    "c": 0.1366,
    "h": 90.3
  },
  "luminance": 0.48501
}

Semantic roles & 50–950 ramp

primary
#DBB542
secondary
#9DACDC
accent
#68EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DBB542

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

Preview Lab → · Contrast checker → · Palette generator →

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