#DBB948#DBB948

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

Color values

HEX#DBB948
RGBrgb(219, 185, 72)
HSLhsl(46, 67%, 57%)
HSVhsv(46, 67%, 86%)
CMYKcmyk(0%, 15.5%, 67.1%, 14.1%)
CIE-LABlab(76.21, -0.02, 59.72)
CIE-LCHlch(76.21, 59.72, 90.02°)
OKLaboklab(79.5% -0.005 0.1347)
OKLCHoklch(79.5% 0.135 92.1)
XYZxyz(47.7345, 50.2286, 13.3104)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB948 #486ADB
analogous
#DB6F48 #DBB948 #B4DB48
triadic
#DBB948 #48DBB9 #B948DB
tetradic
#DBB948 #48DB6F #486ADB #DB48B4
square
#DBB948 #48DB6F #486ADB #DB48B4
split-complementary
#DBB948 #48B4DB #6F48DB
monochromatic
#8D731C #C09C26 #DBB948 #E5CD7B #EFE0AE

Accessibility & contrast

On white

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

On black

11.05
#DBB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB948
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB948#FFFFFF#000000##000000
##DBB9481.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dbb948;
/* rgb */ color: rgb(219, 185, 72);
/* oklch */ color: oklch(79.5% 0.135 92.1);
Tailwind
colors: {
  custom: {
    50: '#eacd80',
    500: '#dbb948',
    950: '#000000',
  },
}
SCSS
$custom: #dbb948;
$custom-light: #eacd80;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb948",
  "rgb": {
    "r": 219,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 46.122,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.795,
    "c": 0.13478,
    "h": 92.1
  },
  "luminance": 0.50226
}

Semantic roles & 50–950 ramp

primary
#DBB948
secondary
#354A92
accent
#66EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DBB948

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

Preview Lab → · Contrast checker → · Palette generator →

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