#DBC74D#DBC74D

#DBC74D is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.141 H 99.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#DBC74D
RGBrgb(219, 199, 77)
HSLhsl(52, 66%, 58%)
HSVhsv(52, 65%, 86%)
CMYKcmyk(0%, 9.1%, 64.8%, 14.1%)
CIE-LABlab(79.87, -6.97, 61.47)
CIE-LCHlch(79.87, 61.86, 96.47°)
OKLaboklab(82.41% -0.0244 0.1392)
OKLCHoklch(82.41% 0.141 99.9)
XYZxyz(50.9786, 56.4450, 15.2295)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC74D #4D61DB
analogous
#DB804D #DBC74D #A8DB4D
triadic
#DBC74D #4DDBC7 #C74DDB
tetradic
#DBC74D #4DDB80 #4D61DB #DB4DA8
square
#DBC74D #4DDB80 #4D61DB #DB4DA8
split-complementary
#DBC74D #4DA8DB #804DDB
monochromatic
#90801D #C3AD27 #DBC74D #E5D780 #F0E7B3

Accessibility & contrast

On white

1.71
#DBC74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#DBC74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC74D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC74D#FFFFFF#000000##000000
##DBC74D1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23E
Deuteranopia (green-blind)
#DFC954
Tritanopia (blue-blind)
#EBB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dbc74d;
/* rgb */ color: rgb(219, 199, 77);
/* oklch */ color: oklch(82.4% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e9d784',
    500: '#dbc74d',
    950: '#000000',
  },
}
SCSS
$custom: #dbc74d;
$custom-light: #e9d784;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc74d",
  "rgb": {
    "r": 219,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 51.549,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82406,
    "c": 0.1413,
    "h": 99.9
  },
  "luminance": 0.56443
}

Semantic roles & 50–950 ramp

primary
#DBC74D
secondary
#374496
accent
#57E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC74D

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

Preview Lab → · Contrast checker → · Palette generator →

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