#DED43B#DED43B

#DED43B is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.164 H 105.6°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#DED43B
RGBrgb(222, 212, 59)
HSLhsl(56, 71%, 55%)
HSVhsv(56, 73%, 87%)
CMYKcmyk(0%, 4.5%, 73.4%, 12.9%)
CIE-LABlab(83.41, -13.20, 71.87)
CIE-LCHlch(83.41, 73.07, 100.40°)
OKLaboklab(85.24% -0.044 0.158)
OKLCHoklch(85.24% 0.164 105.6)
XYZxyz(54.4594, 62.9344, 13.4157)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED43B #3B45DE
analogous
#DE823B #DED43B #96DE3B
triadic
#DED43B #3BDED4 #D43BDE
tetradic
#DED43B #3BDE82 #3B45DE #DE3B96
square
#DED43B #3BDE82 #3B45DE #DE3B96
split-complementary
#DED43B #3B96DE #823BDE
monochromatic
#888117 #BCB320 #DED43B #E7DF6F #F0EBA4

Accessibility & contrast

On white

1.55
#DED43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#DED43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED43B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED43B#FFFFFF#000000##000000
##DED43B1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC1C
Deuteranopia (green-blind)
#EAD346
Tritanopia (blue-blind)
#EEC6B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded43b;
/* rgb */ color: rgb(222, 212, 59);
/* oklch */ color: oklch(85.2% 0.164 105.6);
Tailwind
colors: {
  custom: {
    50: '#ece07c',
    500: '#ded43b',
    950: '#000000',
  },
}
SCSS
$custom: #ded43b;
$custom-light: #ece07c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded43b",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 59
  },
  "hsl": {
    "h": 56.319,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85244,
    "c": 0.16404,
    "h": 105.6
  },
  "luminance": 0.62932
}

Semantic roles & 50–950 ramp

primary
#DED43B
secondary
#2F358E
accent
#45EE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DED43B

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

Preview Lab → · Contrast checker → · Palette generator →

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