#DBC962#DBC962

#DBC962 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.125 H 99.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DBC962
RGBrgb(219, 201, 98)
HSLhsl(51, 63%, 62%)
HSVhsv(51, 55%, 86%)
CMYKcmyk(0%, 8.2%, 55.3%, 14.1%)
CIE-LABlab(80.58, -6.56, 52.95)
CIE-LCHlch(80.58, 53.35, 97.06°)
OKLaboklab(83.04% -0.0208 0.1237)
OKLCHoklch(83.04% 0.125 99.5)
XYZxyz(52.3065, 57.7173, 19.9382)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC962 #6274DB
analogous
#DB8C62 #DBC962 #B1DB62
triadic
#DBC962 #62DBC9 #C962DB
tetradic
#DBC962 #62DB8C #6274DB #DB62B1
square
#DBC962 #62DB8C #6274DB #DB62B1
split-complementary
#DBC962 #62B1DB #8C62DB
monochromatic
#9E8C24 #D0B830 #DBC962 #E6DA94 #F2EBC6

Accessibility & contrast

On white

1.67
#DBC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DBC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC962
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC962#FFFFFF#000000##000000
##DBC9621.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#EABDB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dbc962;
/* rgb */ color: rgb(219, 201, 98);
/* oklch */ color: oklch(83.0% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#e9d992',
    500: '#dbc962',
    950: '#000000',
  },
}
SCSS
$custom: #dbc962;
$custom-light: #e9d992;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc962",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 51.074,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83036,
    "c": 0.12547,
    "h": 99.5
  },
  "luminance": 0.57715
}

Semantic roles & 50–950 ramp

primary
#DBC962
secondary
#3F4EA2
accent
#35CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC962

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

Preview Lab → · Contrast checker → · Palette generator →

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