#DBC862#DBC862

#DBC862 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.125 H 98.9°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#DBC862
RGBrgb(219, 200, 98)
HSLhsl(51, 63%, 62%)
HSVhsv(51, 55%, 86%)
CMYKcmyk(0%, 8.7%, 55.3%, 14.1%)
CIE-LABlab(80.32, -6.05, 52.65)
CIE-LCHlch(80.32, 52.99, 96.55°)
OKLaboklab(82.83% -0.0193 0.1231)
OKLCHoklch(82.83% 0.125 98.9)
XYZxyz(52.0742, 57.2526, 19.8608)
Luminance0.5725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC862 #6275DB
analogous
#DB8C62 #DBC862 #B1DB62
triadic
#DBC862 #62DBC8 #C862DB
tetradic
#DBC862 #62DB8C #6275DB #DB62B1
square
#DBC862 #62DB8C #6275DB #DB62B1
split-complementary
#DBC862 #62B1DB #8C62DB
monochromatic
#9E8B24 #D0B730 #DBC862 #E6D994 #F2EBC6

Accessibility & contrast

On white

1.69
#DBC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#DBC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC862
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC862#FFFFFF#000000##000000
##DBC8621.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C358
Deuteranopia (green-blind)
#DECA67
Tritanopia (blue-blind)
#EABCB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc862;
/* rgb */ color: rgb(219, 200, 98);
/* oklch */ color: oklch(82.8% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#e9d892',
    500: '#dbc862',
    950: '#000000',
  },
}
SCSS
$custom: #dbc862;
$custom-light: #e9d892;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc862",
  "rgb": {
    "r": 219,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 50.579,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8283,
    "c": 0.12459,
    "h": 98.9
  },
  "luminance": 0.5725
}

Semantic roles & 50–950 ramp

primary
#DBC862
secondary
#3F4FA2
accent
#37CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC862

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

Preview Lab → · Contrast checker → · Palette generator →

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