#DBC45D#DBC45D

#DBC45D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 82.0% C 0.126 H 96.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#DBC45D
RGBrgb(219, 196, 93)
HSLhsl(49, 64%, 61%)
HSVhsv(49, 58%, 86%)
CMYKcmyk(0%, 10.5%, 57.5%, 14.1%)
CIE-LABlab(79.23, -4.37, 53.72)
CIE-LCHlch(79.23, 53.90, 94.65°)
OKLaboklab(81.95% -0.0151 0.1248)
OKLCHoklch(81.95% 0.126 96.9)
XYZxyz(50.9311, 55.3325, 18.3513)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC45D #5D74DB
analogous
#DB855D #DBC45D #B3DB5D
triadic
#DBC45D #5DDBC4 #C45DDB
tetradic
#DBC45D #5DDB85 #5D74DB #DB5DB3
square
#DBC45D #5DDB85 #5D74DB #DB5DB3
split-complementary
#DBC45D #5DB3DB #855DDB
monochromatic
#9B8522 #CDB02E #DBC45D #E6D68F #F1E8C1

Accessibility & contrast

On white

1.74
#DBC45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#DBC45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC45D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC45D#FFFFFF#000000##000000
##DBC45D1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C053
Deuteranopia (green-blind)
#DBC862
Tritanopia (blue-blind)
#EBB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc45d;
/* rgb */ color: rgb(219, 196, 93);
/* oklch */ color: oklch(82.0% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#e9d58e',
    500: '#dbc45d',
    950: '#000000',
  },
}
SCSS
$custom: #dbc45d;
$custom-light: #e9d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc45d",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 49.048,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81951,
    "c": 0.12574,
    "h": 96.9
  },
  "luminance": 0.5533
}

Semantic roles & 50–950 ramp

primary
#DBC45D
secondary
#3D4F9F
accent
#3ACB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DBC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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