#DECF5F#DECF5F

#DECF5F is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.5% C 0.134 H 101.7°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#DECF5F
RGBrgb(222, 207, 95)
HSLhsl(53, 66%, 62%)
HSVhsv(53, 57%, 87%)
CMYKcmyk(0%, 6.8%, 57.2%, 12.9%)
CIE-LABlab(82.37, -8.61, 56.44)
CIE-LCHlch(82.37, 57.09, 98.67°)
OKLaboklab(84.51% -0.0272 0.1308)
OKLCHoklch(84.51% 0.134 101.7)
XYZxyz(54.5045, 60.9835, 19.7242)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF5F #5F6EDE
analogous
#DE8F5F #DECF5F #AEDE5F
triadic
#DECF5F #5FDECF #CF5FDE
tetradic
#DECF5F #5FDE8F #5F6EDE #DE5FAE
square
#DECF5F #5FDE8F #5F6EDE #DE5FAE
split-complementary
#DECF5F #5FAEDE #8F5FDE
monochromatic
#A19221 #D4C02C #DECF5F #E8DE92 #F3EDC4

Accessibility & contrast

On white

1.59
#DECF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#DECF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF5F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF5F#FFFFFF#000000##000000
##DECF5F1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C953
Deuteranopia (green-blind)
#E4D065
Tritanopia (blue-blind)
#EDC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf5f;
/* rgb */ color: rgb(222, 207, 95);
/* oklch */ color: oklch(84.5% 0.134 101.7);
Tailwind
colors: {
  custom: {
    50: '#ebdd90',
    500: '#decf5f',
    950: '#000000',
  },
}
SCSS
$custom: #decf5f;
$custom-light: #ebdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#decf5f",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 52.913,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84506,
    "c": 0.13364,
    "h": 101.7
  },
  "luminance": 0.60981
}

Semantic roles & 50–950 ramp

primary
#DECF5F
secondary
#3D49A4
accent
#2DCE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DECF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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