#F8E992#F8E992

#F8E992 is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.109 H 99.7°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#F8E992
RGBrgb(248, 233, 146)
HSLhsl(51, 88%, 77%)
HSVhsv(51, 41%, 97%)
CMYKcmyk(0%, 6%, 41.1%, 2.7%)
CIE-LABlab(91.82, -6.78, 44.06)
CIE-LCHlch(91.82, 44.58, 98.75°)
OKLaboklab(92.72% -0.0183 0.1073)
OKLCHoklch(92.72% 0.109 99.7)
XYZxyz(73.0402, 80.3118, 38.8428)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E992 #92A1F8
analogous
#F8B692 #F8E992 #D4F892
triadic
#F8E992 #92F8E9 #E992F8
tetradic
#F8E992 #92F8B6 #92A1F8 #F892D4
square
#F8E992 #92F8B6 #92A1F8 #F892D4
split-complementary
#F8E992 #92D4F8 #B692F8
monochromatic
#F1D21F #F4DD58 #F8E992 #FCF5CC #FDF9E2

Accessibility & contrast

On white

1.23
#F8E992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#F8E992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E992
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E992#FFFFFF#000000##000000
##F8E9921.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E48B
Deuteranopia (green-blind)
#FDEA95
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8e992;
/* rgb */ color: rgb(248, 233, 146);
/* oklch */ color: oklch(92.7% 0.109 99.7);
Tailwind
colors: {
  custom: {
    50: '#fcefb3',
    500: '#f8e992',
    950: '#000000',
  },
}
SCSS
$custom: #f8e992;
$custom-light: #fcefb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e992",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 146
  },
  "hsl": {
    "h": 51.176,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92718,
    "c": 0.10884,
    "h": 99.7
  },
  "luminance": 0.8031
}

Semantic roles & 50–950 ramp

primary
#F8E992
secondary
#576AD7
accent
#22E501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8E992

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

Preview Lab → · Contrast checker → · Palette generator →

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