#DBC04E#DBC04E

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

Color values

HEX#DBC04E
RGBrgb(219, 192, 78)
HSLhsl(49, 66%, 58%)
HSVhsv(49, 64%, 86%)
CMYKcmyk(0%, 12.3%, 64.4%, 14.1%)
CIE-LABlab(78.06, -3.31, 59.12)
CIE-LCHlch(78.06, 59.22, 93.20°)
OKLaboklab(80.98% -0.0138 0.1344)
OKLCHoklch(80.98% 0.135 95.9)
XYZxyz(49.4405, 53.3119, 14.8923)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC04E #4E69DB
analogous
#DB794E #DBC04E #AFDB4E
triadic
#DBC04E #4EDBC0 #C04EDB
tetradic
#DBC04E #4EDB79 #4E69DB #DB4EAF
square
#DBC04E #4EDB79 #4E69DB #DB4EAF
split-complementary
#DBC04E #4EAFDB #794EDB
monochromatic
#917B1E #C4A628 #DBC04E #E5D281 #F0E4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBC04E#FFFFFF#000000##000000
##DBC04E1.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)
#D2BC40
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#ECB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dbc04e;
/* rgb */ color: rgb(219, 192, 78);
/* oklch */ color: oklch(81.0% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#ead285',
    500: '#dbc04e',
    950: '#000000',
  },
}
SCSS
$custom: #dbc04e;
$custom-light: #ead285;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc04e",
  "rgb": {
    "r": 219,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 48.511,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80977,
    "c": 0.13508,
    "h": 95.9
  },
  "luminance": 0.53309
}

Semantic roles & 50–950 ramp

primary
#DBC04E
secondary
#374996
accent
#5FE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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