#F8F985#F8F985

#F8F985 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.139 H 109.2°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F8F985
RGBrgb(248, 249, 133)
HSLhsl(61, 91%, 75%)
HSVhsv(61, 47%, 98%)
CMYKcmyk(0.4%, 0%, 46.6%, 2.4%)
CIE-LABlab(95.75, -15.92, 55.15)
CIE-LCHlch(95.75, 57.41, 106.11°)
OKLaboklab(95.78% -0.0457 0.1313)
OKLCHoklch(95.78% 0.139 109.2)
XYZxyz(76.8223, 89.4030, 35.3954)
Luminance0.8940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F985 #8685F9
analogous
#F9C085 #F8F985 #BEF985
triadic
#F8F985 #85F8F9 #F985F8
tetradic
#F8F985 #85F9C0 #8685F9 #F985BE
square
#F8F985 #85F9C0 #8685F9 #F985BE
split-complementary
#F8F985 #85BEF9 #C085F9
monochromatic
#F1F310 #F5F64B #F8F985 #FBFCBF #FDFEE2

Accessibility & contrast

On white

1.11
#F8F985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.88
#F8F985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F985
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F985#FFFFFF#000000##000000
##F8F9851.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17B
Deuteranopia (green-blind)
#FFF58B
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f985;
/* rgb */ color: rgb(248, 249, 133);
/* oklch */ color: oklch(95.8% 0.139 109.2);
Tailwind
colors: {
  custom: {
    50: '#fcfbab',
    500: '#f8f985',
    950: '#000000',
  },
}
SCSS
$custom: #f8f985;
$custom-light: #fcfbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f985",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 60.517,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95781,
    "c": 0.13898,
    "h": 109.2
  },
  "luminance": 0.89401
}

Semantic roles & 50–950 ramp

primary
#F8F985
secondary
#4D4BD7
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F985

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

Preview Lab → · Contrast checker → · Palette generator →

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