#F8E072#F8E072

#F8E072 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.133 H 97.2°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F8E072
RGBrgb(248, 224, 114)
HSLhsl(49, 91%, 71%)
HSVhsv(49, 54%, 97%)
CMYKcmyk(0%, 9.7%, 54%, 2.7%)
CIE-LABlab(89.15, -5.16, 56.13)
CIE-LCHlch(89.15, 56.36, 95.25°)
OKLaboklab(90.47% -0.0167 0.1317)
OKLCHoklch(90.47% 0.133 97.2)
XYZxyz(68.4068, 74.4855, 26.6902)
Luminance0.7448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E072 #728AF8
analogous
#F89D72 #F8E072 #CDF872
triadic
#F8E072 #72F8E0 #E072F8
tetradic
#F8E072 #72F89D #728AF8 #F872CD
square
#F8E072 #72F89D #728AF8 #F872CD
split-complementary
#F8E072 #72CDF8 #9D72F8
monochromatic
#E4BD0B #F5D338 #F8E072 #FBEDAC #FEF9E2

Accessibility & contrast

On white

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

On black

15.90
#F8E072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E072
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E072#FFFFFF#000000##000000
##F8E0721.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e072;
/* rgb */ color: rgb(248, 224, 114);
/* oklch */ color: oklch(90.5% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#fde99d',
    500: '#f8e072',
    950: '#000000',
  },
}
SCSS
$custom: #f8e072;
$custom-light: #fde99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e072",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 49.254,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90474,
    "c": 0.13278,
    "h": 97.2
  },
  "luminance": 0.74483
}

Semantic roles & 50–950 ramp

primary
#F8E072
secondary
#3B56D3
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E072

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

Preview Lab → · Contrast checker → · Palette generator →

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