#DEDC3B#DEDC3B

#DEDC3B is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.171 H 108.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#DEDC3B
RGBrgb(222, 220, 59)
HSLhsl(59, 71%, 55%)
HSVhsv(59, 73%, 87%)
CMYKcmyk(0%, 0.9%, 73.4%, 12.9%)
CIE-LABlab(85.52, -17.16, 73.85)
CIE-LCHlch(85.52, 75.82, 103.08°)
OKLaboklab(86.93% -0.0551 0.1622)
OKLCHoklch(86.93% 0.171 108.8)
XYZxyz(56.5090, 67.0336, 14.0989)
Luminance0.6703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC3B #3B3DDE
analogous
#DE8B3B #DEDC3B #8EDE3B
triadic
#DEDC3B #3BDEDC #DC3BDE
tetradic
#DEDC3B #3BDE8B #3B3DDE #DE3B8E
square
#DEDC3B #3BDE8B #3B3DDE #DE3B8E
split-complementary
#DEDC3B #3B8EDE #8B3BDE
monochromatic
#888617 #BCBA20 #DEDC3B #E7E56F #F0EFA4

Accessibility & contrast

On white

1.46
#DEDC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#DEDC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC3B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC3B#FFFFFF#000000##000000
##DEDC3B1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED317
Deuteranopia (green-blind)
#F0D848
Tritanopia (blue-blind)
#EECEBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc3b;
/* rgb */ color: rgb(222, 220, 59);
/* oklch */ color: oklch(86.9% 0.171 108.8);
Tailwind
colors: {
  custom: {
    50: '#ece67d',
    500: '#dedc3b',
    950: '#000000',
  },
}
SCSS
$custom: #dedc3b;
$custom-light: #ece67d;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc3b",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 59
  },
  "hsl": {
    "h": 59.264,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.86929,
    "c": 0.17134,
    "h": 108.8
  },
  "luminance": 0.67032
}

Semantic roles & 50–950 ramp

primary
#DEDC3B
secondary
#2F318E
accent
#3CEE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DEDC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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