#DECF5C#DECF5C

#DECF5C is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.5% C 0.136 H 101.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#DECF5C
RGBrgb(222, 207, 92)
HSLhsl(53, 66%, 62%)
HSVhsv(53, 59%, 87%)
CMYKcmyk(0%, 6.8%, 58.6%, 12.9%)
CIE-LABlab(82.34, -8.82, 57.75)
CIE-LCHlch(82.34, 58.42, 98.69°)
OKLaboklab(84.47% -0.0282 0.1333)
OKLCHoklch(84.47% 0.136 101.9)
XYZxyz(54.3708, 60.9300, 19.0198)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF5C #5C6BDE
analogous
#DE8E5C #DECF5C #ACDE5C
triadic
#DECF5C #5CDECF #CF5CDE
tetradic
#DECF5C #5CDE8E #5C6BDE #DE5CAC
square
#DECF5C #5CDE8E #5C6BDE #DE5CAC
split-complementary
#DECF5C #5CACDE #8E5CDE
monochromatic
#9F9120 #D2BF2B #DECF5C #E8DE8F #F3EDC2

Accessibility & contrast

On white

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

On black

13.19
#DECF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF5C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF5C#FFFFFF#000000##000000
##DECF5C1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #decf5c;
/* rgb */ color: rgb(222, 207, 92);
/* oklch */ color: oklch(84.5% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#ebdd8e',
    500: '#decf5c',
    950: '#000000',
  },
}
SCSS
$custom: #decf5c;
$custom-light: #ebdd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#decf5c",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 53.077,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84474,
    "c": 0.13623,
    "h": 101.9
  },
  "luminance": 0.60928
}

Semantic roles & 50–950 ramp

primary
#DECF5C
secondary
#3C47A3
accent
#2CCE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DECF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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