#DEC250#DEC250

#DEC250 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.135 H 95.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#DEC250
RGBrgb(222, 194, 80)
HSLhsl(48, 68%, 59%)
HSVhsv(48, 64%, 87%)
CMYKcmyk(0%, 12.6%, 64%, 12.9%)
CIE-LABlab(78.87, -2.96, 59.21)
CIE-LCHlch(78.87, 59.28, 92.86°)
OKLaboklab(81.69% -0.0127 0.1348)
OKLCHoklch(81.69% 0.135 95.4)
XYZxyz(50.8663, 54.6949, 15.4658)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC250 #506CDE
analogous
#DE7B50 #DEC250 #B3DE50
triadic
#DEC250 #50DEC2 #C250DE
tetradic
#DEC250 #50DE7B #506CDE #DE50B3
square
#DEC250 #50DE7B #506CDE #DE50B3
split-complementary
#DEC250 #50B3DE #7B50DE
monochromatic
#977F1C #CBAA26 #DEC250 #E8D483 #F1E6B7

Accessibility & contrast

On white

1.76
#DEC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#DEC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC250
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC250#FFFFFF#000000##000000
##DEC2501.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE43
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#EFB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec250;
/* rgb */ color: rgb(222, 194, 80);
/* oklch */ color: oklch(81.7% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#ecd486',
    500: '#dec250',
    950: '#000000',
  },
}
SCSS
$custom: #dec250;
$custom-light: #ecd486;
$custom-dark: #000000;
JSON
{
  "hex": "#dec250",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 48.169,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81685,
    "c": 0.13536,
    "h": 95.4
  },
  "luminance": 0.54692
}

Semantic roles & 50–950 ramp

primary
#DEC250
secondary
#374B9B
accent
#5FEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC250

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

Preview Lab → · Contrast checker → · Palette generator →

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