#DED258#DED258

#DED258 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.142 H 103.7°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DED258
RGBrgb(222, 210, 88)
HSLhsl(55, 67%, 61%)
HSVhsv(55, 60%, 87%)
CMYKcmyk(0%, 5.4%, 60.4%, 12.9%)
CIE-LABlab(83.09, -10.61, 60.33)
CIE-LCHlch(83.09, 61.26, 99.98°)
OKLaboklab(85.06% -0.0337 0.1383)
OKLCHoklch(85.06% 0.142 103.7)
XYZxyz(54.9342, 62.3294, 18.3677)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED258 #5864DE
analogous
#DE8F58 #DED258 #A7DE58
triadic
#DED258 #58DED2 #D258DE
tetradic
#DED258 #58DE8F #5864DE #DE58A7
square
#DED258 #58DE8F #5864DE #DE58A7
split-complementary
#DED258 #58A7DE #8F58DE
monochromatic
#9D911F #D0C129 #DED258 #E8E08B #F2EEBE

Accessibility & contrast

On white

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

On black

13.47
#DED258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED258
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED258#FFFFFF#000000##000000
##DED2581.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4A
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#EDC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded258;
/* rgb */ color: rgb(222, 210, 88);
/* oklch */ color: oklch(85.1% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#ebdf8c',
    500: '#ded258',
    950: '#000000',
  },
}
SCSS
$custom: #ded258;
$custom-light: #ebdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded258",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 54.627,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85056,
    "c": 0.14232,
    "h": 103.7
  },
  "luminance": 0.62327
}

Semantic roles & 50–950 ramp

primary
#DED258
secondary
#3A43A0
accent
#27CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED258

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

Preview Lab → · Contrast checker → · Palette generator →

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