#DECF54#DECF54

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

Color values

HEX#DECF54
RGBrgb(222, 207, 84)
HSLhsl(53, 68%, 60%)
HSVhsv(53, 62%, 87%)
CMYKcmyk(0%, 6.8%, 62.2%, 12.9%)
CIE-LABlab(82.27, -9.36, 61.16)
CIE-LCHlch(82.27, 61.87, 98.70°)
OKLaboklab(84.39% -0.0306 0.1395)
OKLCHoklch(84.39% 0.143 102.4)
XYZxyz(54.0393, 60.7975, 17.2744)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF54 #5463DE
analogous
#DE8A54 #DECF54 #A8DE54
triadic
#DECF54 #54DECF #CF54DE
tetradic
#DECF54 #54DE8A #5463DE #DE54A8
square
#DECF54 #54DE8A #5463DE #DE54A8
split-complementary
#DECF54 #54A8DE #8A54DE
monochromatic
#9A8C1E #CDBB28 #DECF54 #E8DD87 #F2ECBB

Accessibility & contrast

On white

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

On black

13.16
#DECF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF54
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF54#FFFFFF#000000##000000
##DECF541.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #decf54;
/* rgb */ color: rgb(222, 207, 84);
/* oklch */ color: oklch(84.4% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#ebdd89',
    500: '#decf54',
    950: '#000000',
  },
}
SCSS
$custom: #decf54;
$custom-light: #ebdd89;
$custom-dark: #000000;
JSON
{
  "hex": "#decf54",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 53.478,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.84394,
    "c": 0.1428,
    "h": 102.4
  },
  "luminance": 0.60795
}

Semantic roles & 50–950 ramp

primary
#DECF54
secondary
#38439E
accent
#50EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECF54

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

Preview Lab → · Contrast checker → · Palette generator →

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