#DECF4C#DECF4C

#DECF4C is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.3% C 0.149 H 102.7°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#DECF4C
RGBrgb(222, 207, 76)
HSLhsl(54, 69%, 58%)
HSVhsv(54, 66%, 87%)
CMYKcmyk(0%, 6.8%, 65.8%, 12.9%)
CIE-LABlab(82.21, -9.84, 64.41)
CIE-LCHlch(82.21, 65.15, 98.69°)
OKLaboklab(84.32% -0.0328 0.1452)
OKLCHoklch(84.32% 0.149 102.7)
XYZxyz(53.7437, 60.6792, 15.7174)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF4C #4C5BDE
analogous
#DE864C #DECF4C #A4DE4C
triadic
#DECF4C #4CDECF #CF4CDE
tetradic
#DECF4C #4CDE86 #4C5BDE #DE4CA4
square
#DECF4C #4CDE86 #4C5BDE #DE4CA4
split-complementary
#DECF4C #4CA4DE #864CDE
monochromatic
#94881B #C8B725 #DECF4C #E8DD80 #F1EBB3

Accessibility & contrast

On white

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

On black

13.14
#DECF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF4C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF4C#FFFFFF#000000##000000
##DECF4C1.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93B
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#EEC1B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decf4c;
/* rgb */ color: rgb(222, 207, 76);
/* oklch */ color: oklch(84.3% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#ecdd85',
    500: '#decf4c',
    950: '#000000',
  },
}
SCSS
$custom: #decf4c;
$custom-light: #ecdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#decf4c",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 53.836,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84323,
    "c": 0.14882,
    "h": 102.7
  },
  "luminance": 0.60677
}

Semantic roles & 50–950 ramp

primary
#DECF4C
secondary
#354099
accent
#4EEC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DECF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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