#F8F182#F8F182

#F8F182 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.133 H 105.5°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F8F182
RGBrgb(248, 241, 130)
HSLhsl(56, 89%, 74%)
HSVhsv(56, 48%, 97%)
CMYKcmyk(0%, 2.8%, 47.6%, 2.7%)
CIE-LABlab(93.66, -12.28, 54.03)
CIE-LCHlch(93.66, 55.41, 102.81°)
OKLaboklab(94.11% -0.0356 0.1286)
OKLCHoklch(94.11% 0.133 105.5)
XYZxyz(74.1978, 84.4808, 33.5127)
Luminance0.8448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F182 #8289F8
analogous
#F8B682 #F8F182 #C4F882
triadic
#F8F182 #82F8F1 #F182F8
tetradic
#F8F182 #82F8B6 #8289F8 #F882C4
square
#F8F182 #82F8B6 #8289F8 #F882C4
split-complementary
#F8F182 #82C4F8 #B682F8
monochromatic
#F2E40E #F5EB48 #F8F182 #FBF7BC #FDFCE2

Accessibility & contrast

On white

1.17
#F8F182 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#F8F182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F182
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F182#FFFFFF#000000##000000
##F8F1821.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA78
Deuteranopia (green-blind)
#FFEF87
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f182;
/* rgb */ color: rgb(248, 241, 130);
/* oklch */ color: oklch(94.1% 0.133 105.5);
Tailwind
colors: {
  custom: {
    50: '#fcf5a8',
    500: '#f8f182',
    950: '#000000',
  },
}
SCSS
$custom: #f8f182;
$custom-light: #fcf5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f182",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 130
  },
  "hsl": {
    "h": 56.441,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94107,
    "c": 0.13338,
    "h": 105.5
  },
  "luminance": 0.84479
}

Semantic roles & 50–950 ramp

primary
#F8F182
secondary
#4951D5
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F182

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

Preview Lab → · Contrast checker → · Palette generator →

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