#F8F464#F8F464

#F8F464 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.163 H 107.6°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F8F464
RGBrgb(248, 244, 100)
HSLhsl(58, 91%, 68%)
HSVhsv(58, 60%, 97%)
CMYKcmyk(0%, 1.6%, 59.7%, 2.7%)
CIE-LABlab(94.13, -16.05, 67.89)
CIE-LCHlch(94.13, 69.77, 103.30°)
OKLaboklab(94.39% -0.0494 0.1553)
OKLCHoklch(94.39% 0.163 107.6)
XYZxyz(73.3647, 85.5801, 24.7081)
Luminance0.8558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F464 #6468F8
analogous
#F8AA64 #F8F464 #B2F864
triadic
#F8F464 #64F8F4 #F464F8
tetradic
#F8F464 #64F8AA #6468F8 #F864B2
square
#F8F464 #64F8AA #6468F8 #F864B2
split-complementary
#F8F464 #64B2F8 #AA64F8
monochromatic
#D8D20A #F5F029 #F8F464 #FBF89F #FDFCD9

Accessibility & contrast

On white

1.16
#F8F464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F8F464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F464
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F464#FFFFFF#000000##000000
##F8F4641.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB53
Deuteranopia (green-blind)
#FFF16C
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f464;
/* rgb */ color: rgb(248, 244, 100);
/* oklch */ color: oklch(94.4% 0.163 107.6);
Tailwind
colors: {
  custom: {
    50: '#fef796',
    500: '#f8f464',
    950: '#000000',
  },
}
SCSS
$custom: #f8f464;
$custom-light: #fef796;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f464",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 100
  },
  "hsl": {
    "h": 58.378,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.94388,
    "c": 0.16298,
    "h": 107.6
  },
  "luminance": 0.85578
}

Semantic roles & 50–950 ramp

primary
#F8F464
secondary
#2F33D1
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F464

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

Preview Lab → · Contrast checker → · Palette generator →

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