#DBC562#DBC562

#DBC562 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.122 H 97.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#DBC562
RGBrgb(219, 197, 98)
HSLhsl(49, 63%, 62%)
HSVhsv(49, 55%, 86%)
CMYKcmyk(0%, 10%, 55.3%, 14.1%)
CIE-LABlab(79.54, -4.50, 51.74)
CIE-LCHlch(79.54, 51.94, 94.97°)
OKLaboklab(82.21% -0.0149 0.1211)
OKLCHoklch(82.21% 0.122 97)
XYZxyz(51.3862, 55.8766, 19.6314)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC562 #6278DB
analogous
#DB8962 #DBC562 #B4DB62
triadic
#DBC562 #62DBC5 #C562DB
tetradic
#DBC562 #62DB89 #6278DB #DB62B4
square
#DBC562 #62DB89 #6278DB #DB62B4
split-complementary
#DBC562 #62B4DB #8962DB
monochromatic
#9E8824 #D0B330 #DBC562 #E6D794 #F2EAC6

Accessibility & contrast

On white

1.72
#DBC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#DBC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC562
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC562#FFFFFF#000000##000000
##DBC5621.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#DCC866
Tritanopia (blue-blind)
#EAB8AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dbc562;
/* rgb */ color: rgb(219, 197, 98);
/* oklch */ color: oklch(82.2% 0.122 97.0);
Tailwind
colors: {
  custom: {
    50: '#e9d691',
    500: '#dbc562',
    950: '#000000',
  },
}
SCSS
$custom: #dbc562;
$custom-light: #e9d691;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc562",
  "rgb": {
    "r": 219,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 49.091,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82214,
    "c": 0.12204,
    "h": 97
  },
  "luminance": 0.55874
}

Semantic roles & 50–950 ramp

primary
#DBC562
secondary
#3F51A2
accent
#3BCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC562

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

Preview Lab → · Contrast checker → · Palette generator →

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