#FFEC94#FFEC94

#FFEC94 is a very light, moderate yellow. Relative luminance 0.834; OKLCH L 93.9% C 0.110 H 97.5°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#FFEC94
RGBrgb(255, 236, 148)
HSLhsl(49, 100%, 79%)
HSVhsv(49, 42%, 100%)
CMYKcmyk(0%, 7.5%, 42%, 0%)
CIE-LABlab(93.19, -5.36, 44.92)
CIE-LCHlch(93.19, 45.24, 96.81°)
OKLaboklab(93.94% -0.0144 0.1093)
OKLCHoklch(93.94% 0.11 97.5)
XYZxyz(76.5825, 83.3916, 40.0733)
Luminance0.8339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC94 #94A7FF
analogous
#FFB794 #FFEC94 #DDFF94
triadic
#FFEC94 #94FFEC #EC94FF
tetradic
#FFEC94 #94FFB7 #94A7FF #FF94DD
square
#FFEC94 #94FFB7 #94A7FF #FF94DD
split-complementary
#FFEC94 #94DDFF #B794FF
monochromatic
#FFD61A #FFE157 #FFEC94 #FFF7D1 #FFFAE0

Accessibility & contrast

On white

1.19
#FFEC94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#FFEC94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC94
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC94#FFFFFF#000000##000000
##FFEC941.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88D
Deuteranopia (green-blind)
#FFEE97
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffec94;
/* rgb */ color: rgb(255, 236, 148);
/* oklch */ color: oklch(93.9% 0.110 97.5);
Tailwind
colors: {
  custom: {
    50: '#fff2b4',
    500: '#ffec94',
    950: '#000000',
  },
}
SCSS
$custom: #ffec94;
$custom-light: #fff2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec94",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 148
  },
  "hsl": {
    "h": 49.346,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93942,
    "c": 0.11023,
    "h": 97.5
  },
  "luminance": 0.83389
}

Semantic roles & 50–950 ramp

primary
#FFEC94
secondary
#566FE1
accent
#29E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEC94

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

Preview Lab → · Contrast checker → · Palette generator →

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