#DECF71#DECF71

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

Color values

HEX#DECF71
RGBrgb(222, 207, 113)
HSLhsl(52, 62%, 66%)
HSVhsv(52, 49%, 87%)
CMYKcmyk(0%, 6.8%, 49.1%, 12.9%)
CIE-LABlab(82.57, -7.14, 48.23)
CIE-LCHlch(82.57, 48.75, 98.42°)
OKLaboklab(84.73% -0.021 0.1148)
OKLCHoklch(84.73% 0.117 100.4)
XYZxyz(55.4193, 61.3494, 24.5420)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF71 #7180DE
analogous
#DE9871 #DECF71 #B6DE71
triadic
#DECF71 #71DECF #CF71DE
tetradic
#DECF71 #71DE98 #7180DE #DE71B6
square
#DECF71 #71DE98 #7180DE #DE71B6
split-complementary
#DECF71 #71B6DE #9871DE
monochromatic
#AD9A28 #D2BE3F #DECF71 #EAE0A3 #F5F1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECF71#FFFFFF#000000##000000
##DECF711.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)
#DECA69
Deuteranopia (green-blind)
#E3D075
Tritanopia (blue-blind)
#ECC3B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf71;
/* rgb */ color: rgb(222, 207, 113);
/* oklch */ color: oklch(84.7% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#eadd9c',
    500: '#decf71',
    950: '#000000',
  },
}
SCSS
$custom: #decf71;
$custom-light: #eadd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#decf71",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 51.743,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84725,
    "c": 0.11669,
    "h": 100.4
  },
  "luminance": 0.61347
}

Semantic roles & 50–950 ramp

primary
#DECF71
secondary
#4553AF
accent
#33CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DECF71

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

Preview Lab → · Contrast checker → · Palette generator →

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