#DECF56#DECF56

#DECF56 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.4% C 0.141 H 102.3°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#DECF56
RGBrgb(222, 207, 86)
HSLhsl(53, 67%, 60%)
HSVhsv(53, 61%, 87%)
CMYKcmyk(0%, 6.8%, 61.3%, 12.9%)
CIE-LABlab(82.29, -9.23, 60.32)
CIE-LCHlch(82.29, 61.02, 98.70°)
OKLaboklab(84.41% -0.03 0.138)
OKLCHoklch(84.41% 0.141 102.3)
XYZxyz(54.1188, 60.8292, 17.6928)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF56 #5665DE
analogous
#DE8B56 #DECF56 #A9DE56
triadic
#DECF56 #56DECF #CF56DE
tetradic
#DECF56 #56DE8B #5665DE #DE56A9
square
#DECF56 #56DE8B #5665DE #DE56A9
split-complementary
#DECF56 #56A9DE #8B56DE
monochromatic
#9B8D1E #CEBC28 #DECF56 #E8DE89 #F2ECBC

Accessibility & contrast

On white

1.60
#DECF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#DECF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF56
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF56#FFFFFF#000000##000000
##DECF561.001.6013.1713.17
#FFFFFF1.601.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C948
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#EEC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf56;
/* rgb */ color: rgb(222, 207, 86);
/* oklch */ color: oklch(84.4% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#ebdd8a',
    500: '#decf56',
    950: '#000000',
  },
}
SCSS
$custom: #decf56;
$custom-light: #ebdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#decf56",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 53.382,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84413,
    "c": 0.1412,
    "h": 102.3
  },
  "luminance": 0.60827
}

Semantic roles & 50–950 ramp

primary
#DECF56
secondary
#39449F
accent
#2BCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECF56

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

Preview Lab → · Contrast checker → · Palette generator →

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