#DECF6B#DECF6B

#DECF6B is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.123 H 100.9°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#DECF6B
RGBrgb(222, 207, 107)
HSLhsl(52, 64%, 65%)
HSVhsv(52, 52%, 87%)
CMYKcmyk(0%, 6.8%, 51.8%, 12.9%)
CIE-LABlab(82.50, -7.66, 51.02)
CIE-LCHlch(82.50, 51.59, 98.54°)
OKLaboklab(84.65% -0.0232 0.1204)
OKLCHoklch(84.65% 0.123 100.9)
XYZxyz(55.0926, 61.2188, 22.8214)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF6B #6B7ADE
analogous
#DE966B #DECF6B #B4DE6B
triadic
#DECF6B #6BDECF #CF6BDE
tetradic
#DECF6B #6BDE96 #6B7ADE #DE6BB4
square
#DECF6B #6BDE96 #6B7ADE #DE6BB4
split-complementary
#DECF6B #6BB4DE #966BDE
monochromatic
#A99826 #D3BF39 #DECF6B #E9DF9D #F4EFCF

Accessibility & contrast

On white

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

On black

13.24
#DECF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF6B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF6B#FFFFFF#000000##000000
##DECF6B1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA62
Deuteranopia (green-blind)
#E3D070
Tritanopia (blue-blind)
#EDC3B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf6b;
/* rgb */ color: rgb(222, 207, 107);
/* oklch */ color: oklch(84.6% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#eadd98',
    500: '#decf6b',
    950: '#000000',
  },
}
SCSS
$custom: #decf6b;
$custom-light: #eadd98;
$custom-dark: #000000;
JSON
{
  "hex": "#decf6b",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 52.174,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84647,
    "c": 0.1226,
    "h": 100.9
  },
  "luminance": 0.61217
}

Semantic roles & 50–950 ramp

primary
#DECF6B
secondary
#4250AB
accent
#31CB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DECF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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