#FEF090#FEF090

#FEF090 is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.6% C 0.118 H 101.1°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FEF090
RGBrgb(254, 240, 144)
HSLhsl(52, 98%, 78%)
HSVhsv(52, 43%, 100%)
CMYKcmyk(0%, 5.5%, 43.3%, 0.4%)
CIE-LABlab(94.06, -8.14, 47.96)
CIE-LCHlch(94.06, 48.64, 99.63°)
OKLaboklab(94.6% -0.0227 0.1159)
OKLCHoklch(94.6% 0.118 101.1)
XYZxyz(77.0689, 85.4070, 38.8056)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF090 #909EFE
analogous
#FEB990 #FEF090 #D5FE90
triadic
#FEF090 #90FEF0 #F090FE
tetradic
#FEF090 #90FEB9 #909EFE #FE90D5
square
#FEF090 #90FEB9 #909EFE #FE90D5
split-complementary
#FEF090 #90D5FE #B990FE
monochromatic
#FDE017 #FDE853 #FEF090 #FFF8CD #FFFBE1

Accessibility & contrast

On white

1.16
#FEF090 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#FEF090 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF090
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF090#FFFFFF#000000##000000
##FEF0901.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA88
Deuteranopia (green-blind)
#FFF194
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef090;
/* rgb */ color: rgb(254, 240, 144);
/* oklch */ color: oklch(94.6% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#fff4b2',
    500: '#fef090',
    950: '#000000',
  },
}
SCSS
$custom: #fef090;
$custom-light: #fff4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef090",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 144
  },
  "hsl": {
    "h": 52.364,
    "s": 98.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94596,
    "c": 0.11812,
    "h": 101.1
  },
  "luminance": 0.85405
}

Semantic roles & 50–950 ramp

primary
#FEF090
secondary
#5365DF
accent
#1DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF090

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

Preview Lab → · Contrast checker → · Palette generator →

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