#DBB842#DBB842

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

Color values

HEX#DBB842
RGBrgb(219, 184, 66)
HSLhsl(46, 68%, 56%)
HSVhsv(46, 70%, 86%)
CMYKcmyk(0%, 16%, 69.9%, 14.1%)
CIE-LABlab(75.91, 0.18, 61.88)
CIE-LCHlch(75.91, 61.88, 89.83°)
OKLaboklab(79.25% -0.0052 0.1383)
OKLCHoklch(79.25% 0.138 92.1)
XYZxyz(47.3398, 49.7371, 12.2600)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB842 #4265DB
analogous
#DB6C42 #DBB842 #B1DB42
triadic
#DBB842 #42DBB8 #B842DB
tetradic
#DBB842 #42DB6C #4265DB #DB42B1
square
#DBB842 #42DB6C #4265DB #DB42B1
split-complementary
#DBB842 #42B1DB #6C42DB
monochromatic
#896F1A #BC9924 #DBB842 #E5CB75 #EFDFA9

Accessibility & contrast

On white

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

On black

10.95
#DBB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB842
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB842#FFFFFF#000000##000000
##DBB8421.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbb842;
/* rgb */ color: rgb(219, 184, 66);
/* oklch */ color: oklch(79.2% 0.138 92.1);
Tailwind
colors: {
  custom: {
    50: '#eacd7d',
    500: '#dbb842',
    950: '#000000',
  },
}
SCSS
$custom: #dbb842;
$custom-light: #eacd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb842",
  "rgb": {
    "r": 219,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 46.275,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79247,
    "c": 0.13835,
    "h": 92.1
  },
  "luminance": 0.49734
}

Semantic roles & 50–950 ramp

primary
#DBB842
secondary
#9DABDC
accent
#65EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DBB842

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

Preview Lab → · Contrast checker → · Palette generator →

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