#DEC661#DEC661

#DEC661 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.124 H 96.2°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DEC661
RGBrgb(222, 198, 97)
HSLhsl(48, 65%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 10.8%, 56.3%, 12.9%)
CIE-LABlab(80.06, -3.85, 52.88)
CIE-LCHlch(80.06, 53.02, 94.17°)
OKLaboklab(82.68% -0.0133 0.1234)
OKLCHoklch(82.68% 0.124 96.2)
XYZxyz(52.4780, 56.7832, 19.5030)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC661 #6179DE
analogous
#DE8761 #DEC661 #B7DE61
triadic
#DEC661 #61DEC6 #C661DE
tetradic
#DEC661 #61DE87 #6179DE #DE61B7
square
#DEC661 #61DE87 #6179DE #DE61B7
split-complementary
#DEC661 #61B7DE #8761DE
monochromatic
#A38A22 #D3B42E #DEC661 #E9D894 #F3EBC6

Accessibility & contrast

On white

1.70
#DEC661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DEC661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC661
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC661#FFFFFF#000000##000000
##DEC6611.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C257
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#EEB9AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec661;
/* rgb */ color: rgb(222, 198, 97);
/* oklch */ color: oklch(82.7% 0.124 96.2);
Tailwind
colors: {
  custom: {
    50: '#ebd791',
    500: '#dec661',
    950: '#000000',
  },
}
SCSS
$custom: #dec661;
$custom-light: #ebd791;
$custom-dark: #000000;
JSON
{
  "hex": "#dec661",
  "rgb": {
    "r": 222,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 48.48,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.12413,
    "h": 96.2
  },
  "luminance": 0.56781
}

Semantic roles & 50–950 ramp

primary
#DEC661
secondary
#3E52A6
accent
#3BCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC661

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

Preview Lab → · Contrast checker → · Palette generator →

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