#DEC562#DEC562

#DEC562 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.122 H 95.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DEC562
RGBrgb(222, 197, 98)
HSLhsl(48, 65%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 11.3%, 55.9%, 12.9%)
CIE-LABlab(79.81, -3.26, 52.12)
CIE-LCHlch(79.81, 52.22, 93.58°)
OKLaboklab(82.49% -0.0115 0.1219)
OKLCHoklch(82.49% 0.122 95.4)
XYZxyz(52.2971, 56.3463, 19.6741)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC562 #627BDE
analogous
#DE8762 #DEC562 #B9DE62
triadic
#DEC562 #62DEC5 #C562DE
tetradic
#DEC562 #62DE87 #627BDE #DE62B9
square
#DEC562 #62DE87 #627BDE #DE62B9
split-complementary
#DEC562 #62B9DE #8762DE
monochromatic
#A38922 #D3B22F #DEC562 #E9D895 #F3EAC7

Accessibility & contrast

On white

1.71
#DEC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#DEC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC562
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC562#FFFFFF#000000##000000
##DEC5621.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#DDC966
Tritanopia (blue-blind)
#EEB8AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec562;
/* rgb */ color: rgb(222, 197, 98);
/* oklch */ color: oklch(82.5% 0.122 95.4);
Tailwind
colors: {
  custom: {
    50: '#ebd691',
    500: '#dec562',
    950: '#000000',
  },
}
SCSS
$custom: #dec562;
$custom-light: #ebd691;
$custom-dark: #000000;
JSON
{
  "hex": "#dec562",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 47.903,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82488,
    "c": 0.12243,
    "h": 95.4
  },
  "luminance": 0.56344
}

Semantic roles & 50–950 ramp

primary
#DEC562
secondary
#3E53A6
accent
#3DCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC562

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

Preview Lab → · Contrast checker → · Palette generator →

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