#FFEC5E#FFEC5E

#FFEC5E is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.160 H 101.7°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#FFEC5E
RGBrgb(255, 236, 94)
HSLhsl(53, 100%, 68%)
HSVhsv(53, 63%, 100%)
CMYKcmyk(0%, 7.5%, 63.1%, 0%)
CIE-LABlab(92.60, -9.68, 68.88)
CIE-LCHlch(92.60, 69.56, 98.00°)
OKLaboklab(93.29% -0.0323 0.1564)
OKLCHoklch(93.29% 0.16 101.7)
XYZxyz(73.2588, 82.0621, 22.5682)
Luminance0.8206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC5E #5E71FF
analogous
#FF9B5E #FFEC5E #C1FF5E
triadic
#FFEC5E #5EFFEC #EC5EFF
tetradic
#FFEC5E #5EFF9B #5E71FF #FF5EC1
square
#FFEC5E #5EFF9B #5E71FF #FF5EC1
split-complementary
#FFEC5E #5EC1FF #9B5EFF
monochromatic
#E3C800 #FFE521 #FFEC5E #FFF39B #FFFAD8

Accessibility & contrast

On white

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

On black

17.41
#FFEC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC5E
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC5E#FFFFFF#000000##000000
##FFEC5E1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54D
Deuteranopia (green-blind)
#FFED66
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec5e;
/* rgb */ color: rgb(255, 236, 94);
/* oklch */ color: oklch(93.3% 0.160 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff192',
    500: '#ffec5e',
    950: '#000000',
  },
}
SCSS
$custom: #ffec5e;
$custom-light: #fff192;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec5e",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 52.919,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93291,
    "c": 0.15972,
    "h": 101.7
  },
  "luminance": 0.82059
}

Semantic roles & 50–950 ramp

primary
#FFEC5E
secondary
#283DD9
accent
#1BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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