#DBB945#DBB945

#DBB945 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.5% C 0.137 H 92.5°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#DBB945
RGBrgb(219, 185, 69)
HSLhsl(46, 68%, 56%)
HSVhsv(46, 68%, 86%)
CMYKcmyk(0%, 15.5%, 68.5%, 14.1%)
CIE-LABlab(76.19, -0.18, 60.95)
CIE-LCHlch(76.19, 60.95, 90.17°)
OKLaboklab(79.47% -0.0059 0.1368)
OKLCHoklch(79.47% 0.137 92.5)
XYZxyz(47.6390, 50.1904, 12.8075)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB945 #4567DB
analogous
#DB6E45 #DBB945 #B2DB45
triadic
#DBB945 #45DBB9 #B945DB
tetradic
#DBB945 #45DB6E #4567DB #DB45B2
square
#DBB945 #45DB6E #4567DB #DB45B2
split-complementary
#DBB945 #45B2DB #6E45DB
monochromatic
#8B711B #BE9B25 #DBB945 #E5CC78 #EFE0AC

Accessibility & contrast

On white

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

On black

11.04
#DBB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB945
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB945#FFFFFF#000000##000000
##DBB9451.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#ECABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dbb945;
/* rgb */ color: rgb(219, 185, 69);
/* oklch */ color: oklch(79.5% 0.137 92.5);
Tailwind
colors: {
  custom: {
    50: '#eacd7f',
    500: '#dbb945',
    950: '#000000',
  },
}
SCSS
$custom: #dbb945;
$custom-light: #eacd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb945",
  "rgb": {
    "r": 219,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 46.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79474,
    "c": 0.13692,
    "h": 92.5
  },
  "luminance": 0.50188
}

Semantic roles & 50–950 ramp

primary
#DBB945
secondary
#344991
accent
#65EA3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DBB945

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

Preview Lab → · Contrast checker → · Palette generator →

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