#DEC261#DEC261

#DEC261 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.121 H 93.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#DEC261
RGBrgb(222, 194, 97)
HSLhsl(47, 65%, 63%)
HSVhsv(47, 56%, 87%)
CMYKcmyk(0%, 12.6%, 56.3%, 12.9%)
CIE-LABlab(79.03, -1.78, 51.69)
CIE-LCHlch(79.03, 51.72, 91.98°)
OKLaboklab(81.87% -0.0073 0.1208)
OKLCHoklch(81.87% 0.121 93.5)
XYZxyz(51.5757, 54.9787, 19.2022)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC261 #617DDE
analogous
#DE8361 #DEC261 #BBDE61
triadic
#DEC261 #61DEC2 #C261DE
tetradic
#DEC261 #61DE83 #617DDE #DE61BB
square
#DEC261 #61DE83 #617DDE #DE61BB
split-complementary
#DEC261 #61BBDE #8361DE
monochromatic
#A38622 #D3AE2E #DEC261 #E9D694 #F3E9C6

Accessibility & contrast

On white

1.75
#DEC261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#DEC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC261
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC261#FFFFFF#000000##000000
##DEC2611.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF58
Deuteranopia (green-blind)
#DBC765
Tritanopia (blue-blind)
#EEB5AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec261;
/* rgb */ color: rgb(222, 194, 97);
/* oklch */ color: oklch(81.9% 0.121 93.5);
Tailwind
colors: {
  custom: {
    50: '#ebd491',
    500: '#dec261',
    950: '#000000',
  },
}
SCSS
$custom: #dec261;
$custom-light: #ebd491;
$custom-dark: #000000;
JSON
{
  "hex": "#dec261",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 46.56,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81867,
    "c": 0.12105,
    "h": 93.5
  },
  "luminance": 0.54976
}

Semantic roles & 50–950 ramp

primary
#DEC261
secondary
#3E55A6
accent
#41CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC261

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

Preview Lab → · Contrast checker → · Palette generator →

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