#DEC55B#DEC55B

#DEC55B is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.129 H 96.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#DEC55B
RGBrgb(222, 197, 91)
HSLhsl(49, 66%, 61%)
HSVhsv(49, 59%, 87%)
CMYKcmyk(0%, 11.3%, 59%, 12.9%)
CIE-LABlab(79.74, -3.78, 55.28)
CIE-LCHlch(79.74, 55.41, 93.91°)
OKLaboklab(82.41% -0.0138 0.1279)
OKLCHoklch(82.41% 0.129 96.2)
XYZxyz(51.9809, 56.2198, 18.0090)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC55B #5B74DE
analogous
#DE845B #DEC55B #B5DE5B
triadic
#DEC55B #5BDEC5 #C55BDE
tetradic
#DEC55B #5BDE84 #5B74DE #DE5BB5
square
#DEC55B #5BDE84 #5B74DE #DE5BB5
split-complementary
#DEC55B #5BB5DE #845BDE
monochromatic
#9F8620 #D2B22A #DEC55B #E8D78E #F3E9C1

Accessibility & contrast

On white

1.72
#DEC55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#DEC55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC55B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC55B#FFFFFF#000000##000000
##DEC55B1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec55b;
/* rgb */ color: rgb(222, 197, 91);
/* oklch */ color: oklch(82.4% 0.129 96.2);
Tailwind
colors: {
  custom: {
    50: '#ebd68d',
    500: '#dec55b',
    950: '#000000',
  },
}
SCSS
$custom: #dec55b;
$custom-light: #ebd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec55b",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 48.55,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82408,
    "c": 0.12862,
    "h": 96.2
  },
  "luminance": 0.56217
}

Semantic roles & 50–950 ramp

primary
#DEC55B
secondary
#3B4FA2
accent
#3ACE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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