#DEDCA2#DEDCA2

#DEDCA2 is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.2% C 0.075 H 106.2°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#DEDCA2
RGBrgb(222, 220, 162)
HSLhsl(58, 48%, 75%)
HSVhsv(58, 27%, 87%)
CMYKcmyk(0%, 0.9%, 27%, 12.9%)
CIE-LABlab(86.67, -8.33, 28.83)
CIE-LCHlch(86.67, 30.01, 106.12°)
OKLaboklab(88.21% -0.021 0.0725)
OKLCHoklch(88.21% 0.075 106.2)
XYZxyz(62.2391, 69.3256, 44.2779)
Luminance0.6933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDCA2 #A2A4DE
analogous
#DEBEA2 #DEDCA2 #C2DEA2
triadic
#DEDCA2 #A2DEDC #DCA2DE
tetradic
#DEDCA2 #A2DEBE #A2A4DE #DEA2C2
square
#DEDCA2 #A2DEBE #A2A4DE #DEA2C2
split-complementary
#DEDCA2 #A2C2DE #BEA2DE
monochromatic
#BEBA48 #CECB75 #DEDCA2 #EEEDCF #F7F6E8

Accessibility & contrast

On white

1.41
#DEDCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#DEDCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDCA2
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDCA2#FFFFFF#000000##000000
##DEDCA21.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D79E
Deuteranopia (green-blind)
#E7DAA4
Tritanopia (blue-blind)
#E7D5CD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dedca2;
/* rgb */ color: rgb(222, 220, 162);
/* oklch */ color: oklch(88.2% 0.075 106.2);
Tailwind
colors: {
  custom: {
    50: '#e9e6be',
    500: '#dedca2',
    950: '#000000',
  },
}
SCSS
$custom: #dedca2;
$custom-light: #e9e6be;
$custom-dark: #000000;
JSON
{
  "hex": "#dedca2",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 162
  },
  "hsl": {
    "h": 58,
    "s": 47.619,
    "l": 75.294
  },
  "oklch": {
    "l": 0.8821,
    "c": 0.07547,
    "h": 106.2
  },
  "luminance": 0.69325
}

Semantic roles & 50–950 ramp

primary
#DEDCA2
secondary
#6E70B6
accent
#2FBB2B
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161612
muted
#848482

Preview Lab

Preview with #DEDCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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