#DEC056#DEC056

#DEC056 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.129 H 93.5°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#DEC056
RGBrgb(222, 192, 86)
HSLhsl(47, 67%, 60%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 13.5%, 61.3%, 12.9%)
CIE-LABlab(78.41, -1.54, 56.06)
CIE-LCHlch(78.41, 56.08, 91.57°)
OKLaboklab(81.34% -0.0079 0.1289)
OKLCHoklch(81.34% 0.129 93.5)
XYZxyz(50.6558, 53.9033, 16.5385)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC056 #5674DE
analogous
#DE7C56 #DEC056 #B8DE56
triadic
#DEC056 #56DEC0 #C056DE
tetradic
#DEC056 #56DE7C #5674DE #DE56B8
square
#DEC056 #56DE7C #5674DE #DE56B8
split-complementary
#DEC056 #56B8DE #7C56DE
monochromatic
#9B801E #CEAA28 #DEC056 #E8D389 #F2E6BC

Accessibility & contrast

On white

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

On black

11.78
#DEC056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC056
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC056#FFFFFF#000000##000000
##DEC0561.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4B
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#EFB2A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec056;
/* rgb */ color: rgb(222, 192, 86);
/* oklch */ color: oklch(81.3% 0.129 93.5);
Tailwind
colors: {
  custom: {
    50: '#ebd289',
    500: '#dec056',
    950: '#000000',
  },
}
SCSS
$custom: #dec056;
$custom-light: #ebd289;
$custom-dark: #000000;
JSON
{
  "hex": "#dec056",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 86
  },
  "hsl": {
    "h": 46.765,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81338,
    "c": 0.12914,
    "h": 93.5
  },
  "luminance": 0.53901
}

Semantic roles & 50–950 ramp

primary
#DEC056
secondary
#39509F
accent
#3FCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC056

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

Preview Lab → · Contrast checker → · Palette generator →

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