#DED262#DED262

#DED262 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.134 H 103.2°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#DED262
RGBrgb(222, 210, 98)
HSLhsl(54, 65%, 63%)
HSVhsv(54, 56%, 87%)
CMYKcmyk(0%, 5.4%, 55.9%, 12.9%)
CIE-LABlab(83.18, -9.90, 56.00)
CIE-LCHlch(83.18, 56.87, 100.03°)
OKLaboklab(85.16% -0.0306 0.1303)
OKLCHoklch(85.16% 0.134 103.2)
XYZxyz(55.3772, 62.5066, 20.7008)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED262 #626EDE
analogous
#DE9462 #DED262 #ACDE62
triadic
#DED262 #62DED2 #D262DE
tetradic
#DED262 #62DE94 #626EDE #DE62AC
square
#DED262 #62DE94 #626EDE #DE62AC
split-complementary
#DED262 #62ACDE #9462DE
monochromatic
#A39722 #D3C42F #DED262 #E9E095 #F3EFC7

Accessibility & contrast

On white

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

On black

13.50
#DED262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED262
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED262#FFFFFF#000000##000000
##DED2621.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E6D268
Tritanopia (blue-blind)
#EDC5B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded262;
/* rgb */ color: rgb(222, 210, 98);
/* oklch */ color: oklch(85.2% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#ebdf92',
    500: '#ded262',
    950: '#000000',
  },
}
SCSS
$custom: #ded262;
$custom-light: #ebdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#ded262",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 54.194,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8516,
    "c": 0.13379,
    "h": 103.2
  },
  "luminance": 0.62505
}

Semantic roles & 50–950 ramp

primary
#DED262
secondary
#3E48A6
accent
#2ACD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED262

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

Preview Lab → · Contrast checker → · Palette generator →

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