#DBC762#DBC762

#DBC762 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.124 H 98.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DBC762
RGBrgb(219, 199, 98)
HSLhsl(50, 63%, 62%)
HSVhsv(50, 55%, 86%)
CMYKcmyk(0%, 9.1%, 55.3%, 14.1%)
CIE-LABlab(80.06, -5.53, 52.35)
CIE-LCHlch(80.06, 52.64, 96.03°)
OKLaboklab(82.62% -0.0178 0.1224)
OKLCHoklch(82.62% 0.124 98.3)
XYZxyz(51.8433, 56.7909, 19.7838)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC762 #6276DB
analogous
#DB8B62 #DBC762 #B2DB62
triadic
#DBC762 #62DBC7 #C762DB
tetradic
#DBC762 #62DB8B #6276DB #DB62B2
square
#DBC762 #62DB8B #6276DB #DB62B2
split-complementary
#DBC762 #62B2DB #8B62DB
monochromatic
#9E8A24 #D0B530 #DBC762 #E6D994 #F2EBC6

Accessibility & contrast

On white

1.70
#DBC762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DBC762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC762
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC762#FFFFFF#000000##000000
##DBC7621.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C258
Deuteranopia (green-blind)
#DDCA67
Tritanopia (blue-blind)
#EABBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dbc762;
/* rgb */ color: rgb(219, 199, 98);
/* oklch */ color: oklch(82.6% 0.124 98.3);
Tailwind
colors: {
  custom: {
    50: '#e9d791',
    500: '#dbc762',
    950: '#000000',
  },
}
SCSS
$custom: #dbc762;
$custom-light: #e9d791;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc762",
  "rgb": {
    "r": 219,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 50.083,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82624,
    "c": 0.12372,
    "h": 98.3
  },
  "luminance": 0.56789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DBC762

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

Preview Lab → · Contrast checker → · Palette generator →

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