#DBC04F#DBC04F

#DBC04F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.134 H 95.8°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#DBC04F
RGBrgb(219, 192, 79)
HSLhsl(48, 66%, 58%)
HSVhsv(48, 64%, 86%)
CMYKcmyk(0%, 12.3%, 63.9%, 14.1%)
CIE-LABlab(78.07, -3.25, 58.70)
CIE-LCHlch(78.07, 58.79, 93.17°)
OKLaboklab(80.99% -0.0135 0.1336)
OKLCHoklch(80.99% 0.134 95.8)
XYZxyz(49.4766, 53.3263, 15.0825)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC04F #4F6ADB
analogous
#DB7A4F #DBC04F #B0DB4F
triadic
#DBC04F #4FDBC0 #C04FDB
tetradic
#DBC04F #4FDB7A #4F6ADB #DB4FB0
square
#DBC04F #4FDB7A #4F6ADB #DB4FB0
split-complementary
#DBC04F #4FB0DB #7A4FDB
monochromatic
#927B1E #C5A628 #DBC04F #E5D282 #F0E4B5

Accessibility & contrast

On white

1.80
#DBC04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#DBC04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC04F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC04F#FFFFFF#000000##000000
##DBC04F1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#ECB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dbc04f;
/* rgb */ color: rgb(219, 192, 79);
/* oklch */ color: oklch(81.0% 0.134 95.8);
Tailwind
colors: {
  custom: {
    50: '#e9d285',
    500: '#dbc04f',
    950: '#000000',
  },
}
SCSS
$custom: #dbc04f;
$custom-light: #e9d285;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc04f",
  "rgb": {
    "r": 219,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 48.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80986,
    "c": 0.1343,
    "h": 95.8
  },
  "luminance": 0.53324
}

Semantic roles & 50–950 ramp

primary
#DBC04F
secondary
#374A97
accent
#60E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC04F

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

Preview Lab → · Contrast checker → · Palette generator →

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