#F8E288#F8E288

#F8E288 is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.2% C 0.113 H 96.0°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F8E288
RGBrgb(248, 226, 136)
HSLhsl(48, 89%, 75%)
HSVhsv(48, 45%, 97%)
CMYKcmyk(0%, 8.9%, 45.2%, 2.7%)
CIE-LABlab(89.92, -4.26, 46.57)
CIE-LCHlch(89.92, 46.76, 95.22°)
OKLaboklab(91.17% -0.0119 0.1124)
OKLCHoklch(91.17% 0.113 96)
XYZxyz(70.3536, 76.1293, 34.2763)
Luminance0.7613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E288 #889EF8
analogous
#F8AA88 #F8E288 #D6F888
triadic
#F8E288 #88F8E2 #E288F8
tetradic
#F8E288 #88F8AA #889EF8 #F888D6
square
#F8E288 #88F8AA #889EF8 #F888D6
split-complementary
#F8E288 #88D6F8 #AA88F8
monochromatic
#F1C614 #F5D44E #F8E288 #FBF0C2 #FDF8E2

Accessibility & contrast

On white

1.29
#F8E288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F8E288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E288
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E288#FFFFFF#000000##000000
##F8E2881.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE81
Deuteranopia (green-blind)
#F9E58B
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e288;
/* rgb */ color: rgb(248, 226, 136);
/* oklch */ color: oklch(91.2% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#fceaac',
    500: '#f8e288',
    950: '#000000',
  },
}
SCSS
$custom: #f8e288;
$custom-light: #fceaac;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e288",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 136
  },
  "hsl": {
    "h": 48.214,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91166,
    "c": 0.11302,
    "h": 96
  },
  "luminance": 0.76127
}

Semantic roles & 50–950 ramp

primary
#F8E288
secondary
#4E69D6
accent
#2DE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E288

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

Preview Lab → · Contrast checker → · Palette generator →

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