#FFEC5C#FFEC5C

#FFEC5C is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.3% C 0.161 H 101.8°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#FFEC5C
RGBrgb(255, 236, 92)
HSLhsl(53, 100%, 68%)
HSVhsv(53, 64%, 100%)
CMYKcmyk(0%, 7.5%, 63.9%, 0%)
CIE-LABlab(92.59, -9.80, 69.68)
CIE-LCHlch(92.59, 70.36, 98.00°)
OKLaboklab(93.27% -0.0329 0.1578)
OKLCHoklch(93.27% 0.161 101.8)
XYZxyz(73.1702, 82.0266, 22.1017)
Luminance0.8202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC5C #5C6FFF
analogous
#FF9A5C #FFEC5C #C0FF5C
triadic
#FFEC5C #5CFFEC #EC5CFF
tetradic
#FFEC5C #5CFF9A #5C6FFF #FF5CC0
square
#FFEC5C #5CFF9A #5C6FFF #FF5CC0
split-complementary
#FFEC5C #5CC0FF #9A5CFF
monochromatic
#E1C600 #FFE51F #FFEC5C #FFF399 #FFFAD6

Accessibility & contrast

On white

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

On black

17.40
#FFEC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC5C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC5C#FFFFFF#000000##000000
##FFEC5C1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec5c;
/* rgb */ color: rgb(255, 236, 92);
/* oklch */ color: oklch(93.3% 0.161 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff190',
    500: '#ffec5c',
    950: '#000000',
  },
}
SCSS
$custom: #ffec5c;
$custom-light: #fff190;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec5c",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 53.006,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93274,
    "c": 0.16119,
    "h": 101.8
  },
  "luminance": 0.82024
}

Semantic roles & 50–950 ramp

primary
#FFEC5C
secondary
#263BD9
accent
#1BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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