#DECF5A#DECF5A

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

Color values

HEX#DECF5A
RGBrgb(222, 207, 90)
HSLhsl(53, 67%, 61%)
HSVhsv(53, 59%, 87%)
CMYKcmyk(0%, 6.8%, 59.5%, 12.9%)
CIE-LABlab(82.32, -8.96, 58.62)
CIE-LCHlch(82.32, 59.30, 98.69°)
OKLaboklab(84.45% -0.0288 0.1349)
OKLCHoklch(84.45% 0.138 102)
XYZxyz(54.2845, 60.8955, 18.5654)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF5A #5A69DE
analogous
#DE8D5A #DECF5A #ABDE5A
triadic
#DECF5A #5ADECF #CF5ADE
tetradic
#DECF5A #5ADE8D #5A69DE #DE5AAB
square
#DECF5A #5ADE8D #5A69DE #DE5AAB
split-complementary
#DECF5A #5AABDE #8D5ADE
monochromatic
#9E9020 #D1BE2A #DECF5A #E8DE8D #F2EDC0

Accessibility & contrast

On white

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

On black

13.18
#DECF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF5A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF5A#FFFFFF#000000##000000
##DECF5A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#EEC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decf5a;
/* rgb */ color: rgb(222, 207, 90);
/* oklch */ color: oklch(84.5% 0.138 102.0);
Tailwind
colors: {
  custom: {
    50: '#ebdd8d',
    500: '#decf5a',
    950: '#000000',
  },
}
SCSS
$custom: #decf5a;
$custom-light: #ebdd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#decf5a",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 53.182,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84453,
    "c": 0.13792,
    "h": 102
  },
  "luminance": 0.60893
}

Semantic roles & 50–950 ramp

primary
#DECF5A
secondary
#3B46A1
accent
#2CCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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