#DBC162#DBC162

#DBC162 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.119 H 94.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DBC162
RGBrgb(219, 193, 98)
HSLhsl(47, 63%, 62%)
HSVhsv(47, 55%, 86%)
CMYKcmyk(0%, 11.9%, 55.3%, 14.1%)
CIE-LABlab(78.51, -2.43, 50.54)
CIE-LCHlch(78.51, 50.60, 92.76°)
OKLaboklab(81.4% -0.0089 0.1185)
OKLCHoklch(81.4% 0.119 94.3)
XYZxyz(50.4899, 54.0841, 19.3327)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC162 #627CDB
analogous
#DB8462 #DBC162 #B9DB62
triadic
#DBC162 #62DBC1 #C162DB
tetradic
#DBC162 #62DB84 #627CDB #DB62B9
square
#DBC162 #62DB84 #627CDB #DB62B9
split-complementary
#DBC162 #62B9DB #8462DB
monochromatic
#9E8424 #D0AD30 #DBC162 #E6D594 #F2E8C6

Accessibility & contrast

On white

1.78
#DBC162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DBC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC162
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC162#FFFFFF#000000##000000
##DBC1621.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EAB4AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dbc162;
/* rgb */ color: rgb(219, 193, 98);
/* oklch */ color: oklch(81.4% 0.119 94.3);
Tailwind
colors: {
  custom: {
    50: '#e9d391',
    500: '#dbc162',
    950: '#000000',
  },
}
SCSS
$custom: #dbc162;
$custom-light: #e9d391;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc162",
  "rgb": {
    "r": 219,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 47.107,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81397,
    "c": 0.11885,
    "h": 94.3
  },
  "luminance": 0.54082
}

Semantic roles & 50–950 ramp

primary
#DBC162
secondary
#3F54A2
accent
#41CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC162

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

Preview Lab → · Contrast checker → · Palette generator →

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