#DED762#DED762

#DED762 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.2% C 0.139 H 105.8°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DED762
RGBrgb(222, 215, 98)
HSLhsl(57, 65%, 63%)
HSVhsv(57, 56%, 87%)
CMYKcmyk(0%, 3.2%, 55.9%, 12.9%)
CIE-LABlab(84.49, -12.42, 57.49)
CIE-LCHlch(84.49, 58.81, 102.19°)
OKLaboklab(86.2% -0.0378 0.1334)
OKLCHoklch(86.2% 0.139 105.8)
XYZxyz(56.6310, 65.0141, 21.1188)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED762 #6269DE
analogous
#DE9962 #DED762 #A7DE62
triadic
#DED762 #62DED7 #D762DE
tetradic
#DED762 #62DE99 #6269DE #DE62A7
square
#DED762 #62DE99 #6269DE #DE62A7
split-complementary
#DED762 #62A7DE #9962DE
monochromatic
#A39C22 #D3CA2F #DED762 #E9E495 #F3F1C7

Accessibility & contrast

On white

1.50
#DED762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DED762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED762
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED762#FFFFFF#000000##000000
##DED7621.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded762;
/* rgb */ color: rgb(222, 215, 98);
/* oklch */ color: oklch(86.2% 0.139 105.8);
Tailwind
colors: {
  custom: {
    50: '#ebe392',
    500: '#ded762',
    950: '#000000',
  },
}
SCSS
$custom: #ded762;
$custom-light: #ebe392;
$custom-dark: #000000;
JSON
{
  "hex": "#ded762",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 56.613,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86201,
    "c": 0.13868,
    "h": 105.8
  },
  "luminance": 0.65012
}

Semantic roles & 50–950 ramp

primary
#DED762
secondary
#3E44A6
accent
#23CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED762

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

Preview Lab → · Contrast checker → · Palette generator →

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