#F8E990#F8E990

#F8E990 is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.111 H 99.9°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#F8E990
RGBrgb(248, 233, 144)
HSLhsl(51, 88%, 77%)
HSVhsv(51, 42%, 97%)
CMYKcmyk(0%, 6%, 41.9%, 2.7%)
CIE-LABlab(91.80, -6.99, 45.01)
CIE-LCHlch(91.80, 45.55, 98.82°)
OKLaboklab(92.69% -0.0191 0.1093)
OKLCHoklch(92.69% 0.111 99.9)
XYZxyz(72.8860, 80.2502, 38.0306)
Luminance0.8025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E990 #909FF8
analogous
#F8B590 #F8E990 #D3F890
triadic
#F8E990 #90F8E9 #E990F8
tetradic
#F8E990 #90F8B5 #909FF8 #F890D3
square
#F8E990 #90F8B5 #909FF8 #F890D3
split-complementary
#F8E990 #90D3F8 #B590F8
monochromatic
#F1D21D #F4DE56 #F8E990 #FCF4CA #FDF9E2

Accessibility & contrast

On white

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

On black

17.05
#F8E990 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E990
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E990#FFFFFF#000000##000000
##F8E9901.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E489
Deuteranopia (green-blind)
#FDEA94
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e990;
/* rgb */ color: rgb(248, 233, 144);
/* oklch */ color: oklch(92.7% 0.111 99.9);
Tailwind
colors: {
  custom: {
    50: '#fcefb2',
    500: '#f8e990',
    950: '#000000',
  },
}
SCSS
$custom: #f8e990;
$custom-light: #fcefb2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e990",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 144
  },
  "hsl": {
    "h": 51.346,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92687,
    "c": 0.11098,
    "h": 99.9
  },
  "luminance": 0.80248
}

Semantic roles & 50–950 ramp

primary
#F8E990
secondary
#5568D7
accent
#22E501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8E990

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

Preview Lab → · Contrast checker → · Palette generator →

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