#DBC94F#DBC94F

#DBC94F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.141 H 100.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#DBC94F
RGBrgb(219, 201, 79)
HSLhsl(52, 66%, 58%)
HSVhsv(52, 64%, 86%)
CMYKcmyk(0%, 8.2%, 63.9%, 14.1%)
CIE-LABlab(80.40, -7.88, 61.20)
CIE-LCHlch(80.40, 61.71, 97.33°)
OKLaboklab(82.84% -0.0267 0.1389)
OKLCHoklch(82.84% 0.141 100.9)
XYZxyz(51.5135, 57.4000, 15.7615)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC94F #4F61DB
analogous
#DB834F #DBC94F #A7DB4F
triadic
#DBC94F #4FDBC9 #C94FDB
tetradic
#DBC94F #4FDB83 #4F61DB #DB4FA7
square
#DBC94F #4FDB83 #4F61DB #DB4FA7
split-complementary
#DBC94F #4FA7DB #834FDB
monochromatic
#92831E #C5B028 #DBC94F #E5D982 #F0E8B5

Accessibility & contrast

On white

1.68
#DBC94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#DBC94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC94F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC94F#FFFFFF#000000##000000
##DBC94F1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#EBBBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc94f;
/* rgb */ color: rgb(219, 201, 79);
/* oklch */ color: oklch(82.8% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#e9d986',
    500: '#dbc94f',
    950: '#000000',
  },
}
SCSS
$custom: #dbc94f;
$custom-light: #e9d986;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc94f",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 52.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82838,
    "c": 0.14147,
    "h": 100.9
  },
  "luminance": 0.57398
}

Semantic roles & 50–950 ramp

primary
#DBC94F
secondary
#374497
accent
#55E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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