#DECF51#DECF51

#DECF51 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.4% C 0.145 H 102.5°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#DECF51
RGBrgb(222, 207, 81)
HSLhsl(54, 68%, 59%)
HSVhsv(54, 64%, 87%)
CMYKcmyk(0%, 6.8%, 63.5%, 12.9%)
CIE-LABlab(82.25, -9.55, 62.40)
CIE-LCHlch(82.25, 63.12, 98.70°)
OKLaboklab(84.37% -0.0314 0.1417)
OKLCHoklch(84.37% 0.145 102.5)
XYZxyz(53.9243, 60.7515, 16.6687)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF51 #5160DE
analogous
#DE8951 #DECF51 #A7DE51
triadic
#DECF51 #51DECF #CF51DE
tetradic
#DECF51 #51DE89 #5160DE #DE51A7
square
#DECF51 #51DE89 #5160DE #DE51A7
split-complementary
#DECF51 #51A7DE #8951DE
monochromatic
#988B1D #CBBA27 #DECF51 #E8DD84 #F2EBB8

Accessibility & contrast

On white

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

On black

13.15
#DECF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF51
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF51#FFFFFF#000000##000000
##DECF511.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#E5D058
Tritanopia (blue-blind)
#EEC1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf51;
/* rgb */ color: rgb(222, 207, 81);
/* oklch */ color: oklch(84.4% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#ebdd87',
    500: '#decf51',
    950: '#000000',
  },
}
SCSS
$custom: #decf51;
$custom-light: #ebdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#decf51",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 53.617,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84367,
    "c": 0.14512,
    "h": 102.5
  },
  "luminance": 0.60749
}

Semantic roles & 50–950 ramp

primary
#DECF51
secondary
#37429C
accent
#4FEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECF51

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

Preview Lab → · Contrast checker → · Palette generator →

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