#DBC74F#DBC74F

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

Color values

HEX#DBC74F
RGBrgb(219, 199, 79)
HSLhsl(51, 66%, 58%)
HSVhsv(51, 64%, 86%)
CMYKcmyk(0%, 9.1%, 63.9%, 14.1%)
CIE-LABlab(79.88, -6.85, 60.65)
CIE-LCHlch(79.88, 61.03, 96.45°)
OKLaboklab(82.42% -0.0238 0.1377)
OKLCHoklch(82.42% 0.14 99.8)
XYZxyz(51.0503, 56.4737, 15.6071)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC74F #4F63DB
analogous
#DB814F #DBC74F #A9DB4F
triadic
#DBC74F #4FDBC7 #C74FDB
tetradic
#DBC74F #4FDB81 #4F63DB #DB4FA9
square
#DBC74F #4FDB81 #4F63DB #DB4FA9
split-complementary
#DBC74F #4FA9DB #814FDB
monochromatic
#92811E #C5AE28 #DBC74F #E5D782 #F0E7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBC74F#FFFFFF#000000##000000
##DBC74F1.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)
#D9C240
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#EBB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dbc74f;
/* rgb */ color: rgb(219, 199, 79);
/* oklch */ color: oklch(82.4% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#e9d786',
    500: '#dbc74f',
    950: '#000000',
  },
}
SCSS
$custom: #dbc74f;
$custom-light: #e9d786;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc74f",
  "rgb": {
    "r": 219,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 51.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82424,
    "c": 0.13978,
    "h": 99.8
  },
  "luminance": 0.56471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DBC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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