#F8E05C#F8E05C

#F8E05C is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.151 H 99.0°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F8E05C
RGBrgb(248, 224, 92)
HSLhsl(51, 92%, 67%)
HSVhsv(51, 63%, 97%)
CMYKcmyk(0%, 9.7%, 62.9%, 2.7%)
CIE-LABlab(88.94, -6.69, 65.62)
CIE-LCHlch(88.94, 65.96, 95.82°)
OKLaboklab(90.24% -0.0236 0.1494)
OKLCHoklch(90.24% 0.151 99)
XYZxyz(67.3017, 74.0435, 20.8699)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E05C #5C74F8
analogous
#F8925C #F8E05C #C2F85C
triadic
#F8E05C #5CF8E0 #E05CF8
tetradic
#F8E05C #5CF892 #5C74F8 #F85CC2
square
#F8E05C #5CF892 #5C74F8 #F85CC2
split-complementary
#F8E05C #5CC2F8 #925CF8
monochromatic
#D1B209 #F5D521 #F8E05C #FBEB97 #FDF6D1

Accessibility & contrast

On white

1.33
#F8E05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#F8E05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E05C
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E05C#FFFFFF#000000##000000
##F8E05C1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA4C
Deuteranopia (green-blind)
#FBE363
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8e05c;
/* rgb */ color: rgb(248, 224, 92);
/* oklch */ color: oklch(90.2% 0.151 99.0);
Tailwind
colors: {
  custom: {
    50: '#fee990',
    500: '#f8e05c',
    950: '#000000',
  },
}
SCSS
$custom: #f8e05c;
$custom-light: #fee990;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e05c",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 92
  },
  "hsl": {
    "h": 50.769,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90242,
    "c": 0.15125,
    "h": 99
  },
  "luminance": 0.7404
}

Semantic roles & 50–950 ramp

primary
#F8E05C
secondary
#2C45CC
accent
#23E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8E05C

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

Preview Lab → · Contrast checker → · Palette generator →

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