#F8EB8A#F8EB8A

#F8EB8A is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.0% C 0.119 H 101.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F8EB8A
RGBrgb(248, 235, 138)
HSLhsl(53, 89%, 76%)
HSVhsv(53, 44%, 97%)
CMYKcmyk(0%, 5.2%, 44.4%, 2.7%)
CIE-LABlab(92.23, -8.58, 48.47)
CIE-LCHlch(92.23, 49.22, 100.03°)
OKLaboklab(93% -0.0242 0.1168)
OKLCHoklch(93% 0.119 101.7)
XYZxyz(73.0089, 81.2103, 35.8691)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EB8A #8A97F8
analogous
#F8B48A #F8EB8A #CEF88A
triadic
#F8EB8A #8AF8EB #EB8AF8
tetradic
#F8EB8A #8AF8B4 #8A97F8 #F88ACE
square
#F8EB8A #8AF8B4 #8A97F8 #F88ACE
split-complementary
#F8EB8A #8ACEF8 #B48AF8
monochromatic
#F1D717 #F5E150 #F8EB8A #FBF5C4 #FDFAE2

Accessibility & contrast

On white

1.22
#F8EB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F8EB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EB8A
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EB8A#FFFFFF#000000##000000
##F8EB8A1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FFEB8E
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8eb8a;
/* rgb */ color: rgb(248, 235, 138);
/* oklch */ color: oklch(93.0% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#fcf1ae',
    500: '#f8eb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f8eb8a;
$custom-light: #fcf1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eb8a",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 52.909,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93001,
    "c": 0.11925,
    "h": 101.7
  },
  "luminance": 0.81208
}

Semantic roles & 50–950 ramp

primary
#F8EB8A
secondary
#5060D6
accent
#1BE500
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8EB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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