#DCD762#DCD762

#DCD762 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.139 H 106.7°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#DCD762
RGBrgb(220, 215, 98)
HSLhsl(58, 64%, 62%)
HSVhsv(58, 55%, 86%)
CMYKcmyk(0%, 2.3%, 55.5%, 13.7%)
CIE-LABlab(84.33, -13.23, 57.26)
CIE-LCHlch(84.33, 58.77, 103.01°)
OKLaboklab(86.03% -0.04 0.133)
OKLCHoklch(86.03% 0.139 106.7)
XYZxyz(56.0219, 64.7000, 21.0902)
Luminance0.6470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD762 #6267DC
analogous
#DC9A62 #DCD762 #A4DC62
triadic
#DCD762 #62DCD7 #D762DC
tetradic
#DCD762 #62DC9A #6267DC #DC62A4
square
#DCD762 #62DC9A #6267DC #DC62A4
split-complementary
#DCD762 #62A4DC #9A62DC
monochromatic
#A09B24 #D1CA30 #DCD762 #E7E494 #F2F1C6

Accessibility & contrast

On white

1.51
#DCD762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#DCD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD762
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD762#FFFFFF#000000##000000
##DCD7621.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#EACBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd762;
/* rgb */ color: rgb(220, 215, 98);
/* oklch */ color: oklch(86.0% 0.139 106.7);
Tailwind
colors: {
  custom: {
    50: '#e9e392',
    500: '#dcd762',
    950: '#000000',
  },
}
SCSS
$custom: #dcd762;
$custom-light: #e9e392;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd762",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 57.541,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86033,
    "c": 0.13886,
    "h": 106.7
  },
  "luminance": 0.64698
}

Semantic roles & 50–950 ramp

primary
#DCD762
secondary
#3F43A3
accent
#21CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD762

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

Preview Lab → · Contrast checker → · Palette generator →

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