#FFEC59#FFEC59

#FFEC59 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.2% C 0.163 H 101.9°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#FFEC59
RGBrgb(255, 236, 89)
HSLhsl(53, 100%, 67%)
HSVhsv(53, 65%, 100%)
CMYKcmyk(0%, 7.5%, 65.1%, 0%)
CIE-LABlab(92.56, -9.97, 70.85)
CIE-LCHlch(92.56, 71.55, 98.01°)
OKLaboklab(93.25% -0.0337 0.1598)
OKLCHoklch(93.25% 0.163 101.9)
XYZxyz(73.0416, 81.9752, 21.4246)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC59 #596CFF
analogous
#FF9959 #FFEC59 #BFFF59
triadic
#FFEC59 #59FFEC #EC59FF
tetradic
#FFEC59 #59FF99 #596CFF #FF59BF
square
#FFEC59 #59FF99 #596CFF #FF59BF
split-complementary
#FFEC59 #59BFFF #9959FF
monochromatic
#DEC400 #FFE51C #FFEC59 #FFF396 #FFFAD3

Accessibility & contrast

On white

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

On black

17.39
#FFEC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC59
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC59#FFFFFF#000000##000000
##FFEC591.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec59;
/* rgb */ color: rgb(255, 236, 89);
/* oklch */ color: oklch(93.2% 0.163 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff18f',
    500: '#ffec59',
    950: '#000000',
  },
}
SCSS
$custom: #ffec59;
$custom-light: #fff18f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec59",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 53.133,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.93249,
    "c": 0.16335,
    "h": 101.9
  },
  "luminance": 0.81972
}

Semantic roles & 50–950 ramp

primary
#FFEC59
secondary
#263AD6
accent
#1AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEC59

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

Preview Lab → · Contrast checker → · Palette generator →

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