#F8E985#F8E985

#F8E985 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.5% C 0.122 H 100.9°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F8E985
RGBrgb(248, 233, 133)
HSLhsl(52, 89%, 75%)
HSVhsv(52, 46%, 97%)
CMYKcmyk(0%, 6%, 46.4%, 2.7%)
CIE-LABlab(91.65, -8.05, 50.17)
CIE-LCHlch(91.65, 50.81, 99.12°)
OKLaboklab(92.53% -0.0231 0.1202)
OKLCHoklch(92.53% 0.122 100.9)
XYZxyz(72.0858, 79.9301, 33.8166)
Luminance0.7993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E985 #8594F8
analogous
#F8B085 #F8E985 #CEF885
triadic
#F8E985 #85F8E9 #E985F8
tetradic
#F8E985 #85F8B0 #8594F8 #F885CE
square
#F8E985 #85F8B0 #8594F8 #F885CE
split-complementary
#F8E985 #85CEF8 #B085F8
monochromatic
#F1D411 #F5DF4B #F8E985 #FBF3BF #FDFAE2

Accessibility & contrast

On white

1.24
#F8E985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F8E985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E985
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E985#FFFFFF#000000##000000
##F8E9851.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE37D
Deuteranopia (green-blind)
#FEEA89
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e985;
/* rgb */ color: rgb(248, 233, 133);
/* oklch */ color: oklch(92.5% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#fcefaa',
    500: '#f8e985',
    950: '#000000',
  },
}
SCSS
$custom: #f8e985;
$custom-light: #fcefaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e985",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 133
  },
  "hsl": {
    "h": 52.174,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92527,
    "c": 0.12243,
    "h": 100.9
  },
  "luminance": 0.79928
}

Semantic roles & 50–950 ramp

primary
#F8E985
secondary
#4C5ED5
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8E985

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

Preview Lab → · Contrast checker → · Palette generator →

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