#DBC04D#DBC04D

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

Color values

HEX#DBC04D
RGBrgb(219, 192, 77)
HSLhsl(49, 66%, 58%)
HSVhsv(49, 65%, 86%)
CMYKcmyk(0%, 12.3%, 64.8%, 14.1%)
CIE-LABlab(78.05, -3.37, 59.54)
CIE-LCHlch(78.05, 59.64, 93.24°)
OKLaboklab(80.97% -0.0141 0.1351)
OKLCHoklch(80.97% 0.136 95.9)
XYZxyz(49.4049, 53.2976, 14.7049)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC04D #4D68DB
analogous
#DB794D #DBC04D #AFDB4D
triadic
#DBC04D #4DDBC0 #C04DDB
tetradic
#DBC04D #4DDB79 #4D68DB #DB4DAF
square
#DBC04D #4DDB79 #4D68DB #DB4DAF
split-complementary
#DBC04D #4DAFDB #794DDB
monochromatic
#907A1D #C3A627 #DBC04D #E5D280 #F0E4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBC04D#FFFFFF#000000##000000
##DBC04D1.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)
#D2BC3F
Deuteranopia (green-blind)
#D9C553
Tritanopia (blue-blind)
#ECB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dbc04d;
/* rgb */ color: rgb(219, 192, 77);
/* oklch */ color: oklch(81.0% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#ead284',
    500: '#dbc04d',
    950: '#000000',
  },
}
SCSS
$custom: #dbc04d;
$custom-light: #ead284;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc04d",
  "rgb": {
    "r": 219,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 48.592,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80968,
    "c": 0.13584,
    "h": 95.9
  },
  "luminance": 0.53295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DBC04D

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

Preview Lab → · Contrast checker → · Palette generator →

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