#DEC55E#DEC55E

#DEC55E is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.126 H 95.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#DEC55E
RGBrgb(222, 197, 94)
HSLhsl(48, 66%, 62%)
HSVhsv(48, 58%, 87%)
CMYKcmyk(0%, 11.3%, 57.7%, 12.9%)
CIE-LABlab(79.77, -3.56, 53.94)
CIE-LCHlch(79.77, 54.06, 93.78°)
OKLaboklab(82.44% -0.0128 0.1254)
OKLCHoklch(82.44% 0.126 95.8)
XYZxyz(52.1129, 56.2726, 18.7042)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC55E #5E77DE
analogous
#DE855E #DEC55E #B7DE5E
triadic
#DEC55E #5EDEC5 #C55EDE
tetradic
#DEC55E #5EDE85 #5E77DE #DE5EB7
square
#DEC55E #5EDE85 #5E77DE #DE5EB7
split-complementary
#DEC55E #5EB7DE #855EDE
monochromatic
#A18821 #D3B32B #DEC55E #E8D791 #F3EAC4

Accessibility & contrast

On white

1.71
#DEC55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#DEC55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC55E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC55E#FFFFFF#000000##000000
##DEC55E1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C154
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#EEB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec55e;
/* rgb */ color: rgb(222, 197, 94);
/* oklch */ color: oklch(82.4% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#ebd68f',
    500: '#dec55e',
    950: '#000000',
  },
}
SCSS
$custom: #dec55e;
$custom-light: #ebd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec55e",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 48.281,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82442,
    "c": 0.12601,
    "h": 95.8
  },
  "luminance": 0.5627
}

Semantic roles & 50–950 ramp

primary
#DEC55E
secondary
#3C51A4
accent
#3BCE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC55E

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

Preview Lab → · Contrast checker → · Palette generator →

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