#DEDC6F#DEDC6F

#DEDC6F is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.132 H 107.9°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#DEDC6F
RGBrgb(222, 220, 111)
HSLhsl(59, 63%, 65%)
HSVhsv(59, 50%, 87%)
CMYKcmyk(0%, 0.9%, 50%, 12.9%)
CIE-LABlab(85.94, -13.87, 53.21)
CIE-LCHlch(85.94, 54.99, 104.61°)
OKLaboklab(87.4% -0.0405 0.1255)
OKLCHoklch(87.4% 0.132 107.9)
XYZxyz(58.5881, 67.8652, 25.0489)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC6F #6F71DE
analogous
#DEA46F #DEDC6F #A8DE6F
triadic
#DEDC6F #6FDEDC #DC6FDE
tetradic
#DEDC6F #6FDEA4 #6F71DE #DE6FA8
square
#DEDC6F #6FDEA4 #6F71DE #DE6FA8
split-complementary
#DEDC6F #6FA8DE #A46FDE
monochromatic
#ABA927 #D3D03D #DEDC6F #E9E8A1 #F5F4D3

Accessibility & contrast

On white

1.44
#DEDC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#DEDC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC6F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC6F#FFFFFF#000000##000000
##DEDC6F1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD565
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#EBD0C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc6f;
/* rgb */ color: rgb(222, 220, 111);
/* oklch */ color: oklch(87.4% 0.132 107.9);
Tailwind
colors: {
  custom: {
    50: '#eae69b',
    500: '#dedc6f',
    950: '#000000',
  },
}
SCSS
$custom: #dedc6f;
$custom-light: #eae69b;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc6f",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 58.919,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87397,
    "c": 0.1319,
    "h": 107.9
  },
  "luminance": 0.67864
}

Semantic roles & 50–950 ramp

primary
#DEDC6F
secondary
#4446AE
accent
#1ECA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DEDC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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