#DEDC5F#DEDC5F

#DEDC5F is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.146 H 108.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#DEDC5F
RGBrgb(222, 220, 95)
HSLhsl(59, 66%, 62%)
HSVhsv(59, 57%, 87%)
CMYKcmyk(0%, 0.9%, 57.2%, 12.9%)
CIE-LABlab(85.78, -15.12, 60.26)
CIE-LCHlch(85.78, 62.13, 104.09°)
OKLaboklab(87.22% -0.0458 0.139)
OKLCHoklch(87.22% 0.146 108.2)
XYZxyz(57.7847, 67.5438, 20.8176)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC5F #5F61DE
analogous
#DE9D5F #DEDC5F #A1DE5F
triadic
#DEDC5F #5FDEDC #DC5FDE
tetradic
#DEDC5F #5FDE9D #5F61DE #DE5FA1
square
#DEDC5F #5FDE9D #5F61DE #DE5FA1
split-complementary
#DEDC5F #5FA1DE #9D5FDE
monochromatic
#A19F21 #D4D12C #DEDC5F #E8E792 #F3F2C4

Accessibility & contrast

On white

1.45
#DEDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#DEDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC5F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC5F#FFFFFF#000000##000000
##DEDC5F1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD451
Deuteranopia (green-blind)
#EED966
Tritanopia (blue-blind)
#ECCFC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc5f;
/* rgb */ color: rgb(222, 220, 95);
/* oklch */ color: oklch(87.2% 0.146 108.2);
Tailwind
colors: {
  custom: {
    50: '#ebe691',
    500: '#dedc5f',
    950: '#000000',
  },
}
SCSS
$custom: #dedc5f;
$custom-light: #ebe691;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc5f",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 59.055,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87217,
    "c": 0.14636,
    "h": 108.2
  },
  "luminance": 0.67542
}

Semantic roles & 50–950 ramp

primary
#DEDC5F
secondary
#3D3EA4
accent
#1BCE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DEDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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