#DEDC3C#DEDC3C

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

Color values

HEX#DEDC3C
RGBrgb(222, 220, 60)
HSLhsl(59, 71%, 55%)
HSVhsv(59, 73%, 87%)
CMYKcmyk(0%, 0.9%, 73%, 12.9%)
CIE-LABlab(85.53, -17.12, 73.53)
CIE-LCHlch(85.53, 75.50, 103.10°)
OKLaboklab(86.94% -0.0549 0.1617)
OKLCHoklch(86.94% 0.171 108.7)
XYZxyz(56.5351, 67.0440, 14.2368)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC3C #3C3EDE
analogous
#DE8B3C #DEDC3C #8FDE3C
triadic
#DEDC3C #3CDEDC #DC3CDE
tetradic
#DEDC3C #3CDE8B #3C3EDE #DE3C8F
square
#DEDC3C #3CDE8B #3C3EDE #DE3C8F
split-complementary
#DEDC3C #3C8FDE #8B3CDE
monochromatic
#888717 #BDBB20 #DEDC3C #E7E570 #F0EFA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDC3C#FFFFFF#000000##000000
##DEDC3C1.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)
#EED31A
Deuteranopia (green-blind)
#F0D849
Tritanopia (blue-blind)
#EECEBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc3c;
/* rgb */ color: rgb(222, 220, 60);
/* oklch */ color: oklch(86.9% 0.171 108.7);
Tailwind
colors: {
  custom: {
    50: '#ece67d',
    500: '#dedc3c',
    950: '#000000',
  },
}
SCSS
$custom: #dedc3c;
$custom-light: #ece67d;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc3c",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 60
  },
  "hsl": {
    "h": 59.259,
    "s": 71.053,
    "l": 55.294
  },
  "oklch": {
    "l": 0.86935,
    "c": 0.1708,
    "h": 108.7
  },
  "luminance": 0.67042
}

Semantic roles & 50–950 ramp

primary
#DEDC3C
secondary
#30318E
accent
#3CEE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DEDC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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