#FEF892#FEF892

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

Color values

HEX#FEF892
RGBrgb(254, 248, 146)
HSLhsl(57, 98%, 78%)
HSVhsv(57, 43%, 100%)
CMYKcmyk(0%, 2.4%, 42.5%, 0.4%)
CIE-LABlab(96.11, -11.89, 49.56)
CIE-LCHlch(96.11, 50.97, 103.49°)
OKLaboklab(96.24% -0.0333 0.1197)
OKLCHoklch(96.24% 0.124 105.6)
XYZxyz(79.6303, 90.2830, 40.4202)
Luminance0.9028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF892 #9298FE
analogous
#FEC292 #FEF892 #CEFE92
triadic
#FEF892 #92FEF8 #F892FE
tetradic
#FEF892 #92FEC2 #9298FE #FE92CE
square
#FEF892 #92FEC2 #9298FE #FE92CE
split-complementary
#FEF892 #92CEFE #C292FE
monochromatic
#FDF019 #FDF455 #FEF892 #FFFCCF #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF892#FFFFFF#000000##000000
##FEF8921.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)
#FFF18A
Deuteranopia (green-blind)
#FFF696
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef892;
/* rgb */ color: rgb(254, 248, 146);
/* oklch */ color: oklch(96.2% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#fffab3',
    500: '#fef892',
    950: '#000000',
  },
}
SCSS
$custom: #fef892;
$custom-light: #fffab3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef892",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 146
  },
  "hsl": {
    "h": 56.667,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.96235,
    "c": 0.1242,
    "h": 105.6
  },
  "luminance": 0.90281
}

Semantic roles & 50–950 ramp

primary
#FEF892
secondary
#555CDF
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF892

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

Preview Lab → · Contrast checker → · Palette generator →

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