#DED95B#DED95B

#DED95B is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.147 H 107.0°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DED95B
RGBrgb(222, 217, 91)
HSLhsl(58, 66%, 61%)
HSVhsv(58, 59%, 87%)
CMYKcmyk(0%, 2.3%, 59%, 12.9%)
CIE-LABlab(84.95, -13.92, 61.08)
CIE-LCHlch(84.95, 62.65, 102.83°)
OKLaboklab(86.55% -0.0428 0.1403)
OKLCHoklch(86.55% 0.147 107)
XYZxyz(56.8272, 65.9124, 19.6244)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED95B #5B60DE
analogous
#DE985B #DED95B #A2DE5B
triadic
#DED95B #5BDED9 #D95BDE
tetradic
#DED95B #5BDE98 #5B60DE #DE5BA2
square
#DED95B #5BDE98 #5B60DE #DE5BA2
split-complementary
#DED95B #5BA2DE #985BDE
monochromatic
#9F9A20 #D2CB2A #DED95B #E8E58E #F3F1C1

Accessibility & contrast

On white

1.48
#DED95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#DED95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED95B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED95B#FFFFFF#000000##000000
##DED95B1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14D
Deuteranopia (green-blind)
#ECD762
Tritanopia (blue-blind)
#EDCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded95b;
/* rgb */ color: rgb(222, 217, 91);
/* oklch */ color: oklch(86.5% 0.147 107.0);
Tailwind
colors: {
  custom: {
    50: '#ebe48e',
    500: '#ded95b',
    950: '#000000',
  },
}
SCSS
$custom: #ded95b;
$custom-light: #ebe48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded95b",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 57.71,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86547,
    "c": 0.14664,
    "h": 107
  },
  "luminance": 0.65911
}

Semantic roles & 50–950 ramp

primary
#DED95B
secondary
#3B3FA2
accent
#1ECE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED95B

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

Preview Lab → · Contrast checker → · Palette generator →

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