#F8F477#F8F477

#F8F477 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.147 H 107.2°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#F8F477
RGBrgb(248, 244, 119)
HSLhsl(58, 90%, 72%)
HSVhsv(58, 52%, 97%)
CMYKcmyk(0%, 1.6%, 52%, 2.7%)
CIE-LABlab(94.31, -14.68, 59.86)
CIE-LCHlch(94.31, 61.63, 103.78°)
OKLaboklab(94.59% -0.0435 0.1403)
OKLCHoklch(94.59% 0.147 107.2)
XYZxyz(74.3938, 85.9918, 30.1284)
Luminance0.8599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F477 #777BF8
analogous
#F8B477 #F8F477 #BBF877
triadic
#F8F477 #77F8F4 #F477F8
tetradic
#F8F477 #77F8B4 #777BF8 #F877BB
square
#F8F477 #77F8B4 #777BF8 #F877BB
split-complementary
#F8F477 #77BBF8 #B477F8
monochromatic
#E9E20C #F5EF3D #F8F477 #FBF9B1 #FEFDE2

Accessibility & contrast

On white

1.15
#F8F477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#F8F477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F477
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F477#FFFFFF#000000##000000
##F8F4771.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f477;
/* rgb */ color: rgb(248, 244, 119);
/* oklch */ color: oklch(94.6% 0.147 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf7a1',
    500: '#f8f477',
    950: '#000000',
  },
}
SCSS
$custom: #f8f477;
$custom-light: #fdf7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f477",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 58.14,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94585,
    "c": 0.14689,
    "h": 107.2
  },
  "luminance": 0.8599
}

Semantic roles & 50–950 ramp

primary
#F8F477
secondary
#3F44D4
accent
#07E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F477

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

Preview Lab → · Contrast checker → · Palette generator →

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