#DBC548#DBC548

#DBC548 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.143 H 99.2°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#DBC548
RGBrgb(219, 197, 72)
HSLhsl(51, 67%, 57%)
HSVhsv(51, 67%, 86%)
CMYKcmyk(0%, 10%, 67.1%, 14.1%)
CIE-LABlab(79.31, -6.24, 62.94)
CIE-LCHlch(79.31, 63.25, 95.66°)
OKLaboklab(81.95% -0.0228 0.1415)
OKLCHoklch(81.95% 0.143 99.2)
XYZxyz(50.3516, 55.4628, 14.1828)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC548 #485EDB
analogous
#DB7B48 #DBC548 #A8DB48
triadic
#DBC548 #48DBC5 #C548DB
tetradic
#DBC548 #48DB7B #485EDB #DB48A8
square
#DBC548 #48DB7B #485EDB #DB48A8
split-complementary
#DBC548 #48A8DB #7B48DB
monochromatic
#8D7C1C #C0A926 #DBC548 #E5D57B #EFE5AE

Accessibility & contrast

On white

1.74
#DBC548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#DBC548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC548
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC548#FFFFFF#000000##000000
##DBC5481.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#ECB7AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc548;
/* rgb */ color: rgb(219, 197, 72);
/* oklch */ color: oklch(82.0% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#ead681',
    500: '#dbc548',
    950: '#000000',
  },
}
SCSS
$custom: #dbc548;
$custom-light: #ead681;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc548",
  "rgb": {
    "r": 219,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 51.02,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8195,
    "c": 0.14333,
    "h": 99.2
  },
  "luminance": 0.5546
}

Semantic roles & 50–950 ramp

primary
#DBC548
secondary
#354392
accent
#58EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC548

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

Preview Lab → · Contrast checker → · Palette generator →

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