#FEF893#FEF893

#FEF893 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.3% C 0.123 H 105.5°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FEF893
RGBrgb(254, 248, 147)
HSLhsl(57, 98%, 79%)
HSVhsv(57, 42%, 100%)
CMYKcmyk(0%, 2.4%, 42.1%, 0.4%)
CIE-LABlab(96.13, -11.79, 49.10)
CIE-LCHlch(96.13, 50.49, 103.51°)
OKLaboklab(96.25% -0.0329 0.1187)
OKLCHoklch(96.25% 0.123 105.5)
XYZxyz(79.7084, 90.3142, 40.8317)
Luminance0.9031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF893 #9399FE
analogous
#FEC293 #FEF893 #CEFE93
triadic
#FEF893 #93FEF8 #F893FE
tetradic
#FEF893 #93FEC2 #9399FE #FE93CE
square
#FEF893 #93FEC2 #9399FE #FE93CE
split-complementary
#FEF893 #93CEFE #C293FE
monochromatic
#FDF01A #FDF456 #FEF893 #FFFCD0 #FFFDE1

Accessibility & contrast

On white

1.10
#FEF893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#FEF893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF893
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF893#FFFFFF#000000##000000
##FEF8931.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18B
Deuteranopia (green-blind)
#FFF697
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef893;
/* rgb */ color: rgb(254, 248, 147);
/* oklch */ color: oklch(96.3% 0.123 105.5);
Tailwind
colors: {
  custom: {
    50: '#fffab4',
    500: '#fef893',
    950: '#000000',
  },
}
SCSS
$custom: #fef893;
$custom-light: #fffab4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef893",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 147
  },
  "hsl": {
    "h": 56.636,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9625,
    "c": 0.12315,
    "h": 105.5
  },
  "luminance": 0.90312
}

Semantic roles & 50–950 ramp

primary
#FEF893
secondary
#565DE0
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF893

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

Preview Lab → · Contrast checker → · Palette generator →

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