#F8F081#F8F081

#F8F081 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.133 H 105.0°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F8F081
RGBrgb(248, 240, 129)
HSLhsl(56, 89%, 74%)
HSVhsv(56, 48%, 97%)
CMYKcmyk(0%, 3.2%, 48%, 2.7%)
CIE-LABlab(93.39, -11.88, 54.18)
CIE-LCHlch(93.39, 55.47, 102.37°)
OKLaboklab(93.89% -0.0345 0.1288)
OKLCHoklch(93.89% 0.133 105)
XYZxyz(73.8358, 83.8637, 33.0625)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F081 #8189F8
analogous
#F8B581 #F8F081 #C5F881
triadic
#F8F081 #81F8F0 #F081F8
tetradic
#F8F081 #81F8B5 #8189F8 #F881C5
square
#F8F081 #81F8B5 #8189F8 #F881C5
split-complementary
#F8F081 #81C5F8 #B581F8
monochromatic
#F1E20D #F5E947 #F8F081 #FBF7BB #FDFCE2

Accessibility & contrast

On white

1.18
#F8F081 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F8F081 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F081
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F081#FFFFFF#000000##000000
##F8F0811.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEF86
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f081;
/* rgb */ color: rgb(248, 240, 129);
/* oklch */ color: oklch(93.9% 0.133 105.0);
Tailwind
colors: {
  custom: {
    50: '#fdf4a8',
    500: '#f8f081',
    950: '#000000',
  },
}
SCSS
$custom: #f8f081;
$custom-light: #fdf4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f081",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 129
  },
  "hsl": {
    "h": 55.966,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9389,
    "c": 0.13334,
    "h": 105
  },
  "luminance": 0.83862
}

Semantic roles & 50–950 ramp

primary
#F8F081
secondary
#4852D5
accent
#0FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F081

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

Preview Lab → · Contrast checker → · Palette generator →

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