#F8E075#F8E075

#F8E075 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.130 H 96.9°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F8E075
RGBrgb(248, 224, 117)
HSLhsl(49, 90%, 72%)
HSVhsv(49, 53%, 97%)
CMYKcmyk(0%, 9.7%, 52.8%, 2.7%)
CIE-LABlab(89.18, -4.92, 54.77)
CIE-LCHlch(89.18, 54.99, 95.13°)
OKLaboklab(90.51% -0.0157 0.1291)
OKLCHoklch(90.51% 0.13 96.9)
XYZxyz(68.5803, 74.5550, 27.6043)
Luminance0.7455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E075 #758DF8
analogous
#F89F75 #F8E075 #CEF875
triadic
#F8E075 #75F8E0 #E075F8
tetradic
#F8E075 #75F89F #758DF8 #F875CE
square
#F8E075 #75F89F #758DF8 #F875CE
split-complementary
#F8E075 #75CEF8 #9F75F8
monochromatic
#E7BF0C #F5D33B #F8E075 #FBEDAF #FEF8E2

Accessibility & contrast

On white

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

On black

15.91
#F8E075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E075
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E075#FFFFFF#000000##000000
##F8E0751.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e075;
/* rgb */ color: rgb(248, 224, 117);
/* oklch */ color: oklch(90.5% 0.130 96.9);
Tailwind
colors: {
  custom: {
    50: '#fde99f',
    500: '#f8e075',
    950: '#000000',
  },
}
SCSS
$custom: #f8e075;
$custom-light: #fde99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e075",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 117
  },
  "hsl": {
    "h": 49.008,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9051,
    "c": 0.13001,
    "h": 96.9
  },
  "luminance": 0.74552
}

Semantic roles & 50–950 ramp

primary
#F8E075
secondary
#3E59D3
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E075

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

Preview Lab → · Contrast checker → · Palette generator →

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