#FFEC90#FFEC90

#FFEC90 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 93.9% C 0.114 H 98.0°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#FFEC90
RGBrgb(255, 236, 144)
HSLhsl(50, 100%, 78%)
HSVhsv(50, 44%, 100%)
CMYKcmyk(0%, 7.5%, 43.5%, 0%)
CIE-LABlab(93.13, -5.76, 46.81)
CIE-LCHlch(93.13, 47.16, 97.01°)
OKLaboklab(93.88% -0.0158 0.1133)
OKLCHoklch(93.88% 0.114 98)
XYZxyz(76.2714, 83.2671, 38.4346)
Luminance0.8327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC90 #90A3FF
analogous
#FFB490 #FFEC90 #DAFF90
triadic
#FFEC90 #90FFEC #EC90FF
tetradic
#FFEC90 #90FFB4 #90A3FF #FF90DA
square
#FFEC90 #90FFB4 #90A3FF #FF90DA
split-complementary
#FFEC90 #90DAFF #B490FF
monochromatic
#FFD716 #FFE253 #FFEC90 #FFF6CD #FFFAE0

Accessibility & contrast

On white

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

On black

17.65
#FFEC90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC90
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC90#FFFFFF#000000##000000
##FFEC901.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec90;
/* rgb */ color: rgb(255, 236, 144);
/* oklch */ color: oklch(93.9% 0.114 98.0);
Tailwind
colors: {
  custom: {
    50: '#fff2b2',
    500: '#ffec90',
    950: '#000000',
  },
}
SCSS
$custom: #ffec90;
$custom-light: #fff2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec90",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 144
  },
  "hsl": {
    "h": 49.73,
    "s": 100,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93882,
    "c": 0.11444,
    "h": 98
  },
  "luminance": 0.83265
}

Semantic roles & 50–950 ramp

primary
#FFEC90
secondary
#536BE1
accent
#27E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEC90

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

Preview Lab → · Contrast checker → · Palette generator →

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