#F8E070#F8E070

#F8E070 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.5% C 0.135 H 97.4°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#F8E070
RGBrgb(248, 224, 112)
HSLhsl(49, 91%, 71%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 9.7%, 54.8%, 2.7%)
CIE-LABlab(89.13, -5.31, 57.02)
CIE-LCHlch(89.13, 57.27, 95.32°)
OKLaboklab(90.45% -0.0174 0.1335)
OKLCHoklch(90.45% 0.135 97.4)
XYZxyz(68.2942, 74.4405, 26.0972)
Luminance0.7444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E070 #7088F8
analogous
#F89C70 #F8E070 #CCF870
triadic
#F8E070 #70F8E0 #E070F8
tetradic
#F8E070 #70F89C #7088F8 #F870CC
square
#F8E070 #70F89C #7088F8 #F870CC
split-complementary
#F8E070 #70CCF8 #9C70F8
monochromatic
#E3BC0B #F5D336 #F8E070 #FBEDAA #FEF9E2

Accessibility & contrast

On white

1.32
#F8E070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#F8E070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E070
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E070#FFFFFF#000000##000000
##F8E0701.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB65
Deuteranopia (green-blind)
#F9E375
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e070;
/* rgb */ color: rgb(248, 224, 112);
/* oklch */ color: oklch(90.5% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#fde99c',
    500: '#f8e070',
    950: '#000000',
  },
}
SCSS
$custom: #f8e070;
$custom-light: #fde99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e070",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 112
  },
  "hsl": {
    "h": 49.412,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9045,
    "c": 0.13459,
    "h": 97.4
  },
  "luminance": 0.74438
}

Semantic roles & 50–950 ramp

primary
#F8E070
secondary
#3954D3
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E070

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

Preview Lab → · Contrast checker → · Palette generator →

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