#DEC341#DEC341

#DEC341 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.147 H 97.1°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#DEC341
RGBrgb(222, 195, 65)
HSLhsl(50, 70%, 56%)
HSVhsv(50, 71%, 87%)
CMYKcmyk(0%, 12.2%, 70.7%, 12.9%)
CIE-LABlab(79.01, -4.30, 65.48)
CIE-LCHlch(79.01, 65.62, 93.75°)
OKLaboklab(81.76% -0.0183 0.1456)
OKLCHoklch(81.76% 0.147 97.1)
XYZxyz(50.5959, 54.9440, 12.9402)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC341 #415CDE
analogous
#DE7541 #DEC341 #AADE41
triadic
#DEC341 #41DEC3 #C341DE
tetradic
#DEC341 #41DE75 #415CDE #DE41AA
square
#DEC341 #41DE75 #415CDE #DE41AA
split-complementary
#DEC341 #41AADE #7541DE
monochromatic
#8C7818 #C0A521 #DEC341 #E7D375 #F0E4A9

Accessibility & contrast

On white

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

On black

11.99
#DEC341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC341
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC341#FFFFFF#000000##000000
##DEC3411.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF2D
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#EFB4A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec341;
/* rgb */ color: rgb(222, 195, 65);
/* oklch */ color: oklch(81.8% 0.147 97.1);
Tailwind
colors: {
  custom: {
    50: '#ecd47d',
    500: '#dec341',
    950: '#000000',
  },
}
SCSS
$custom: #dec341;
$custom-light: #ecd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec341",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 49.682,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81762,
    "c": 0.14671,
    "h": 97.1
  },
  "luminance": 0.54941
}

Semantic roles & 50–950 ramp

primary
#DEC341
secondary
#324292
accent
#59ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DEC341

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

Preview Lab → · Contrast checker → · Palette generator →

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