#FFEC50#FFEC50

#FFEC50 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.169 H 102.3°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#FFEC50
RGBrgb(255, 236, 80)
HSLhsl(53, 100%, 66%)
HSVhsv(53, 69%, 100%)
CMYKcmyk(0%, 7.5%, 68.6%, 0%)
CIE-LABlab(92.50, -10.44, 74.23)
CIE-LCHlch(92.50, 74.96, 98.01°)
OKLaboklab(93.18% -0.036 0.1655)
OKLCHoklch(93.18% 0.169 102.3)
XYZxyz(72.6866, 81.8332, 19.5545)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC50 #5063FF
analogous
#FF9450 #FFEC50 #BAFF50
triadic
#FFEC50 #50FFEC #EC50FF
tetradic
#FFEC50 #50FF94 #5063FF #FF50BA
square
#FFEC50 #50FF94 #5063FF #FF50BA
split-complementary
#FFEC50 #50BAFF #9450FF
monochromatic
#D5BE00 #FFE513 #FFEC50 #FFF38D #FFF9CA

Accessibility & contrast

On white

1.21
#FFEC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#FFEC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC50
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC50#FFFFFF#000000##000000
##FFEC501.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE538
Deuteranopia (green-blind)
#FFED5A
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffec50;
/* rgb */ color: rgb(255, 236, 80);
/* oklch */ color: oklch(93.2% 0.169 102.3);
Tailwind
colors: {
  custom: {
    50: '#fff18a',
    500: '#ffec50',
    950: '#000000',
  },
}
SCSS
$custom: #ffec50;
$custom-light: #fff18a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec50",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 80
  },
  "hsl": {
    "h": 53.486,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93179,
    "c": 0.1694,
    "h": 102.3
  },
  "luminance": 0.8183
}

Semantic roles & 50–950 ramp

primary
#FFEC50
secondary
#2437CF
accent
#19E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FFEC50

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

Preview Lab → · Contrast checker → · Palette generator →

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