#DEC246#DEC246

#DEC246 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.143 H 96.2°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DEC246
RGBrgb(222, 194, 70)
HSLhsl(49, 70%, 57%)
HSVhsv(49, 68%, 87%)
CMYKcmyk(0%, 12.6%, 68.5%, 12.9%)
CIE-LABlab(78.79, -3.53, 63.30)
CIE-LCHlch(78.79, 63.39, 93.19°)
OKLaboklab(81.6% -0.0155 0.1418)
OKLCHoklch(81.6% 0.143 96.2)
XYZxyz(50.5239, 54.5580, 13.6627)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC246 #4662DE
analogous
#DE7646 #DEC246 #AEDE46
triadic
#DEC246 #46DEC2 #C246DE
tetradic
#DEC246 #46DE76 #4662DE #DE46AE
square
#DEC246 #46DE76 #4662DE #DE46AE
split-complementary
#DEC246 #46AEDE #7646DE
monochromatic
#907A1A #C4A623 #DEC246 #E7D37A #F1E4AE

Accessibility & contrast

On white

1.76
#DEC246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#DEC246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC246
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC246#FFFFFF#000000##000000
##DEC2461.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#EFB4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec246;
/* rgb */ color: rgb(222, 194, 70);
/* oklch */ color: oklch(81.6% 0.143 96.2);
Tailwind
colors: {
  custom: {
    50: '#ecd480',
    500: '#dec246',
    950: '#000000',
  },
}
SCSS
$custom: #dec246;
$custom-light: #ecd480;
$custom-dark: #000000;
JSON
{
  "hex": "#dec246",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 48.947,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81597,
    "c": 0.14268,
    "h": 96.2
  },
  "luminance": 0.54555
}

Semantic roles & 50–950 ramp

primary
#DEC246
secondary
#334595
accent
#5CED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC246

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

Preview Lab → · Contrast checker → · Palette generator →

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