#DCD262#DCD262

#DCD262 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.134 H 104.2°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#DCD262
RGBrgb(220, 210, 98)
HSLhsl(55, 64%, 62%)
HSVhsv(55, 55%, 86%)
CMYKcmyk(0%, 4.5%, 55.5%, 13.7%)
CIE-LABlab(83.02, -10.72, 55.77)
CIE-LCHlch(83.02, 56.79, 100.88°)
OKLaboklab(84.99% -0.0328 0.1298)
OKLCHoklch(84.99% 0.134 104.2)
XYZxyz(54.7681, 62.1925, 20.6723)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD262 #626CDC
analogous
#DC9562 #DCD262 #A9DC62
triadic
#DCD262 #62DCD2 #D262DC
tetradic
#DCD262 #62DC95 #626CDC #DC62A9
square
#DCD262 #62DC95 #626CDC #DC62A9
split-complementary
#DCD262 #62A9DC #9562DC
monochromatic
#A09624 #D1C430 #DCD262 #E7E094 #F2EFC6

Accessibility & contrast

On white

1.56
#DCD262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#DCD262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD262
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD262#FFFFFF#000000##000000
##DCD2621.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E6D168
Tritanopia (blue-blind)
#EBC6B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd262;
/* rgb */ color: rgb(220, 210, 98);
/* oklch */ color: oklch(85.0% 0.134 104.2);
Tailwind
colors: {
  custom: {
    50: '#e9df92',
    500: '#dcd262',
    950: '#000000',
  },
}
SCSS
$custom: #dcd262;
$custom-light: #e9df92;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd262",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 55.082,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84988,
    "c": 0.13386,
    "h": 104.2
  },
  "luminance": 0.62191
}

Semantic roles & 50–950 ramp

primary
#DCD262
secondary
#3F47A3
accent
#29CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD262

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

Preview Lab → · Contrast checker → · Palette generator →

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