#DBC262#DBC262

#DBC262 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.120 H 95.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DBC262
RGBrgb(219, 194, 98)
HSLhsl(48, 63%, 62%)
HSVhsv(48, 55%, 86%)
CMYKcmyk(0%, 11.4%, 55.3%, 14.1%)
CIE-LABlab(78.77, -2.95, 50.84)
CIE-LCHlch(78.77, 50.93, 93.32°)
OKLaboklab(81.6% -0.0104 0.1192)
OKLCHoklch(81.6% 0.12 95)
XYZxyz(50.7118, 54.5278, 19.4066)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC262 #627BDB
analogous
#DB8562 #DBC262 #B8DB62
triadic
#DBC262 #62DBC2 #C262DB
tetradic
#DBC262 #62DB85 #627BDB #DB62B8
square
#DBC262 #62DB85 #627BDB #DB62B8
split-complementary
#DBC262 #62B8DB #8562DB
monochromatic
#9E8524 #D0AF30 #DBC262 #E6D594 #F2E9C6

Accessibility & contrast

On white

1.76
#DBC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#DBC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC262
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC262#FFFFFF#000000##000000
##DBC2621.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EAB5AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dbc262;
/* rgb */ color: rgb(219, 194, 98);
/* oklch */ color: oklch(81.6% 0.120 95.0);
Tailwind
colors: {
  custom: {
    50: '#e9d491',
    500: '#dbc262',
    950: '#000000',
  },
}
SCSS
$custom: #dbc262;
$custom-light: #e9d491;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc262",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 47.603,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.11962,
    "h": 95
  },
  "luminance": 0.54525
}

Semantic roles & 50–950 ramp

primary
#DBC262
secondary
#3F54A2
accent
#3FCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DBC262

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

Preview Lab → · Contrast checker → · Palette generator →

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