#DBBC38#DBBC38

#DBBC38 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 80.0% C 0.147 H 95.3°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#DBBC38
RGBrgb(219, 188, 56)
HSLhsl(49, 69%, 54%)
HSVhsv(49, 74%, 86%)
CMYKcmyk(0%, 14.2%, 74.4%, 14.1%)
CIE-LABlab(76.87, -2.37, 66.63)
CIE-LCHlch(76.87, 66.67, 92.03°)
OKLaboklab(79.99% -0.0135 0.1465)
OKLCHoklch(79.99% 0.147 95.3)
XYZxyz(47.9130, 51.3147, 11.1217)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBBC38 #3857DB
analogous
#DB6B38 #DBBC38 #A9DB38
triadic
#DBBC38 #38DBBC #BC38DB
tetradic
#DBBC38 #38DB6B #3857DB #DB38A9
square
#DBBC38 #38DB6B #3857DB #DB38A9
split-complementary
#DBBC38 #38A9DB #6B38DB
monochromatic
#816D17 #B59921 #DBBC38 #E4CD6C #EEDFA0

Accessibility & contrast

On white

1.86
#DBBC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#DBBC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBBC38
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBBC38#FFFFFF#000000##000000
##DBBC381.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B820
Deuteranopia (green-blind)
#D8C240
Tritanopia (blue-blind)
#EDADA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dbbc38;
/* rgb */ color: rgb(219, 188, 56);
/* oklch */ color: oklch(80.0% 0.147 95.3);
Tailwind
colors: {
  custom: {
    50: '#eacf78',
    500: '#dbbc38',
    950: '#000000',
  },
}
SCSS
$custom: #dbbc38;
$custom-light: #eacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#dbbc38",
  "rgb": {
    "r": 219,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 48.589,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79986,
    "c": 0.14707,
    "h": 95.3
  },
  "luminance": 0.51312
}

Semantic roles & 50–950 ramp

primary
#DBBC38
secondary
#2F4088
accent
#5DEC3C
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DBBC38

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

Preview Lab → · Contrast checker → · Palette generator →

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