#DEC146#DEC146

#DEC146 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.142 H 95.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DEC146
RGBrgb(222, 193, 70)
HSLhsl(49, 70%, 57%)
HSVhsv(49, 68%, 87%)
CMYKcmyk(0%, 13.1%, 68.5%, 12.9%)
CIE-LABlab(78.53, -3.01, 63.03)
CIE-LCHlch(78.53, 63.10, 92.73°)
OKLaboklab(81.39% -0.014 0.1413)
OKLCHoklch(81.39% 0.142 95.7)
XYZxyz(50.3021, 54.1143, 13.5887)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC146 #4663DE
analogous
#DE7546 #DEC146 #AFDE46
triadic
#DEC146 #46DEC1 #C146DE
tetradic
#DEC146 #46DE75 #4663DE #DE46AF
square
#DEC146 #46DE75 #4663DE #DE46AF
split-complementary
#DEC146 #46AFDE #7546DE
monochromatic
#90791A #C4A523 #DEC146 #E7D27A #F1E4AE

Accessibility & contrast

On white

1.78
#DEC146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DEC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC146
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC146#FFFFFF#000000##000000
##DEC1461.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD35
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#EFB3A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec146;
/* rgb */ color: rgb(222, 193, 70);
/* oklch */ color: oklch(81.4% 0.142 95.7);
Tailwind
colors: {
  custom: {
    50: '#ecd380',
    500: '#dec146',
    950: '#000000',
  },
}
SCSS
$custom: #dec146;
$custom-light: #ecd380;
$custom-dark: #000000;
JSON
{
  "hex": "#dec146",
  "rgb": {
    "r": 222,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 48.553,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81393,
    "c": 0.14197,
    "h": 95.7
  },
  "luminance": 0.54112
}

Semantic roles & 50–950 ramp

primary
#DEC146
secondary
#334695
accent
#5DED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC146

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

Preview Lab → · Contrast checker → · Palette generator →

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