#DEDE4F#DEDE4F

#DEDE4F is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.5% C 0.161 H 109.3°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#DEDE4F
RGBrgb(222, 222, 79)
HSLhsl(60, 68%, 59%)
HSVhsv(60, 64%, 87%)
CMYKcmyk(0%, 0%, 64.4%, 12.9%)
CIE-LABlab(86.18, -17.15, 67.32)
CIE-LCHlch(86.18, 69.47, 104.29°)
OKLaboklab(87.49% -0.0532 0.1518)
OKLCHoklch(87.49% 0.161 109.3)
XYZxyz(57.6586, 68.3383, 17.5490)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDE4F #4F4FDE
analogous
#DE974F #DEDE4F #97DE4F
triadic
#DEDE4F #4FDEDE #DE4FDE
tetradic
#DEDE4F #4FDE97 #4F4FDE #DE4F97
square
#DEDE4F #4FDE97 #4F4FDE #DE4F97
split-complementary
#DEDE4F #4F97DE #974FDE
monochromatic
#96961C #CACA26 #DEDE4F #E8E883 #F1F1B6

Accessibility & contrast

On white

1.43
#DEDE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#DEDE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDE4F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDE4F#FFFFFF#000000##000000
##DEDE4F1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#F1DA58
Tritanopia (blue-blind)
#EDD1C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dede4f;
/* rgb */ color: rgb(222, 222, 79);
/* oklch */ color: oklch(87.5% 0.161 109.3);
Tailwind
colors: {
  custom: {
    50: '#ece887',
    500: '#dede4f',
    950: '#000000',
  },
}
SCSS
$custom: #dede4f;
$custom-light: #ece887;
$custom-dark: #000000;
JSON
{
  "hex": "#dede4f",
  "rgb": {
    "r": 222,
    "g": 222,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87492,
    "c": 0.16082,
    "h": 109.3
  },
  "luminance": 0.68337
}

Semantic roles & 50–950 ramp

primary
#DEDE4F
secondary
#37379B
accent
#3DEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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