#DBC348#DBC348

#DBC348 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.142 H 98.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DBC348
RGBrgb(219, 195, 72)
HSLhsl(50, 67%, 57%)
HSVhsv(50, 67%, 86%)
CMYKcmyk(0%, 11%, 67.1%, 14.1%)
CIE-LABlab(78.79, -5.21, 62.40)
CIE-LCHlch(78.79, 62.62, 94.77°)
OKLaboklab(81.54% -0.0199 0.1404)
OKLCHoklch(81.54% 0.142 98.1)
XYZxyz(49.9005, 54.5606, 14.0324)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC348 #4860DB
analogous
#DB7A48 #DBC348 #AADB48
triadic
#DBC348 #48DBC3 #C348DB
tetradic
#DBC348 #48DB7A #4860DB #DB48AA
square
#DBC348 #48DB7A #4860DB #DB48AA
split-complementary
#DBC348 #48AADB #7A48DB
monochromatic
#8D7A1C #C0A726 #DBC348 #E5D47B #EFE5AE

Accessibility & contrast

On white

1.76
#DBC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#DBC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC348
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC348#FFFFFF#000000##000000
##DBC3481.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE38
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#ECB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc348;
/* rgb */ color: rgb(219, 195, 72);
/* oklch */ color: oklch(81.5% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#ead481',
    500: '#dbc348',
    950: '#000000',
  },
}
SCSS
$custom: #dbc348;
$custom-light: #ead481;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc348",
  "rgb": {
    "r": 219,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 50.204,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81539,
    "c": 0.14177,
    "h": 98.1
  },
  "luminance": 0.54558
}

Semantic roles & 50–950 ramp

primary
#DBC348
secondary
#354492
accent
#5AEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC348

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

Preview Lab → · Contrast checker → · Palette generator →

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