#DECF72#DECF72

#DECF72 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.116 H 100.3°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#DECF72
RGBrgb(222, 207, 114)
HSLhsl(52, 62%, 66%)
HSVhsv(52, 49%, 87%)
CMYKcmyk(0%, 6.8%, 48.6%, 12.9%)
CIE-LABlab(82.58, -7.05, 47.76)
CIE-LCHlch(82.58, 48.27, 98.40°)
OKLaboklab(84.74% -0.0207 0.1138)
OKLCHoklch(84.74% 0.116 100.3)
XYZxyz(55.4759, 61.3721, 24.8401)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF72 #7281DE
analogous
#DE9972 #DECF72 #B7DE72
triadic
#DECF72 #72DECF #CF72DE
tetradic
#DECF72 #72DE99 #7281DE #DE72B7
square
#DECF72 #72DE99 #7281DE #DE72B7
split-complementary
#DECF72 #72B7DE #9972DE
monochromatic
#AD9B29 #D2BE40 #DECF72 #EAE0A4 #F5F1D5

Accessibility & contrast

On white

1.58
#DECF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#DECF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF72
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF72#FFFFFF#000000##000000
##DECF721.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6A
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#ECC3B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf72;
/* rgb */ color: rgb(222, 207, 114);
/* oklch */ color: oklch(84.7% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#eadd9c',
    500: '#decf72',
    950: '#000000',
  },
}
SCSS
$custom: #decf72;
$custom-light: #eadd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#decf72",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 51.667,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84739,
    "c": 0.11569,
    "h": 100.3
  },
  "luminance": 0.6137
}

Semantic roles & 50–950 ramp

primary
#DECF72
secondary
#4554AF
accent
#34CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DECF72

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

Preview Lab → · Contrast checker → · Palette generator →

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