#FFEC93#FFEC93

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

Color values

HEX#FFEC93
RGBrgb(255, 236, 147)
HSLhsl(49, 100%, 79%)
HSVhsv(49, 42%, 100%)
CMYKcmyk(0%, 7.5%, 42.4%, 0%)
CIE-LABlab(93.17, -5.46, 45.40)
CIE-LCHlch(93.17, 45.72, 96.86°)
OKLaboklab(93.93% -0.0147 0.1103)
OKLCHoklch(93.93% 0.111 97.6)
XYZxyz(76.5037, 83.3600, 39.6583)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC93 #93A6FF
analogous
#FFB693 #FFEC93 #DCFF93
triadic
#FFEC93 #93FFEC #EC93FF
tetradic
#FFEC93 #93FFB6 #93A6FF #FF93DC
square
#FFEC93 #93FFB6 #93A6FF #FF93DC
split-complementary
#FFEC93 #93DCFF #B693FF
monochromatic
#FFD619 #FFE156 #FFEC93 #FFF7D0 #FFFAE0

Accessibility & contrast

On white

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

On black

17.67
#FFEC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC93
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC93#FFFFFF#000000##000000
##FFEC931.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec93;
/* rgb */ color: rgb(255, 236, 147);
/* oklch */ color: oklch(93.9% 0.111 97.6);
Tailwind
colors: {
  custom: {
    50: '#fff2b4',
    500: '#ffec93',
    950: '#000000',
  },
}
SCSS
$custom: #ffec93;
$custom-light: #fff2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec93",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 147
  },
  "hsl": {
    "h": 49.444,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93927,
    "c": 0.11129,
    "h": 97.6
  },
  "luminance": 0.83357
}

Semantic roles & 50–950 ramp

primary
#FFEC93
secondary
#556EE1
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEC93

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

Preview Lab → · Contrast checker → · Palette generator →

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