#DBC662#DBC662

#DBC662 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.123 H 97.7°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DBC662
RGBrgb(219, 198, 98)
HSLhsl(50, 63%, 62%)
HSVhsv(50, 55%, 86%)
CMYKcmyk(0%, 9.6%, 55.3%, 14.1%)
CIE-LABlab(79.80, -5.02, 52.04)
CIE-LCHlch(79.80, 52.29, 95.51°)
OKLaboklab(82.42% -0.0164 0.1218)
OKLCHoklch(82.42% 0.123 97.7)
XYZxyz(51.6140, 56.3322, 19.7074)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC662 #6277DB
analogous
#DB8A62 #DBC662 #B3DB62
triadic
#DBC662 #62DBC6 #C662DB
tetradic
#DBC662 #62DB8A #6277DB #DB62B3
square
#DBC662 #62DB8A #6277DB #DB62B3
split-complementary
#DBC662 #62B3DB #8A62DB
monochromatic
#9E8924 #D0B430 #DBC662 #E6D894 #F2EAC6

Accessibility & contrast

On white

1.71
#DBC662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#DBC662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC662
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC662#FFFFFF#000000##000000
##DBC6621.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DCC966
Tritanopia (blue-blind)
#EABAAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dbc662;
/* rgb */ color: rgb(219, 198, 98);
/* oklch */ color: oklch(82.4% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#e9d791',
    500: '#dbc662',
    950: '#000000',
  },
}
SCSS
$custom: #dbc662;
$custom-light: #e9d791;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc662",
  "rgb": {
    "r": 219,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 49.587,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82419,
    "c": 0.12288,
    "h": 97.7
  },
  "luminance": 0.5633
}

Semantic roles & 50–950 ramp

primary
#DBC662
secondary
#3F50A2
accent
#39CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC662

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

Preview Lab → · Contrast checker → · Palette generator →

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