#DBC45F#DBC45F

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

Color values

HEX#DBC45F
RGBrgb(219, 196, 95)
HSLhsl(49, 63%, 62%)
HSVhsv(49, 57%, 86%)
CMYKcmyk(0%, 10.5%, 56.6%, 14.1%)
CIE-LABlab(79.25, -4.22, 52.81)
CIE-LCHlch(79.25, 52.98, 94.57°)
OKLaboklab(81.97% -0.0144 0.1231)
OKLCHoklch(81.97% 0.124 96.7)
XYZxyz(51.0209, 55.3684, 18.8239)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC45F #5F76DB
analogous
#DB865F #DBC45F #B4DB5F
triadic
#DBC45F #5FDBC4 #C45FDB
tetradic
#DBC45F #5FDB86 #5F76DB #DB5FB4
square
#DBC45F #5FDB86 #5F76DB #DB5FB4
split-complementary
#DBC45F #5FB4DB #865FDB
monochromatic
#9C8623 #CEB12E #DBC45F #E6D691 #F1E9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DBC45F#FFFFFF#000000##000000
##DBC45F1.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)
#D5C055
Deuteranopia (green-blind)
#DBC864
Tritanopia (blue-blind)
#EAB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dbc45f;
/* rgb */ color: rgb(219, 196, 95);
/* oklch */ color: oklch(82.0% 0.124 96.7);
Tailwind
colors: {
  custom: {
    50: '#e9d58f',
    500: '#dbc45f',
    950: '#000000',
  },
}
SCSS
$custom: #dbc45f;
$custom-light: #e9d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc45f",
  "rgb": {
    "r": 219,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 48.871,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.12395,
    "h": 96.7
  },
  "luminance": 0.55366
}

Semantic roles & 50–950 ramp

primary
#DBC45F
secondary
#3E50A0
accent
#3BCB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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