#F4F862#F4F862

#F4F862 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.169 H 110.7°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#F4F862
RGBrgb(244, 248, 98)
HSLhsl(62, 91%, 68%)
HSVhsv(62, 60%, 97%)
CMYKcmyk(1.6%, 0%, 60.5%, 2.7%)
CIE-LABlab(94.84, -19.71, 69.39)
CIE-LCHlch(94.84, 72.14, 105.86°)
OKLaboklab(94.88% -0.0597 0.1583)
OKLCHoklch(94.88% 0.169 110.7)
XYZxyz(73.0823, 87.2515, 24.5443)
Luminance0.8725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F862 #6662F8
analogous
#F8B162 #F4F862 #A9F862
triadic
#F4F862 #62F4F8 #F862F4
tetradic
#F4F862 #62F8B1 #6662F8 #F862A9
square
#F4F862 #62F8B1 #6662F8 #F862A9
split-complementary
#F4F862 #62A9F8 #B162F8
monochromatic
#D1D60A #F0F527 #F4F862 #F8FB9D #FCFDD7

Accessibility & contrast

On white

1.14
#F4F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#F4F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F862
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F862#FFFFFF#000000##000000
##F4F8621.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f4f862;
/* rgb */ color: rgb(244, 248, 98);
/* oklch */ color: oklch(94.9% 0.169 110.7);
Tailwind
colors: {
  custom: {
    50: '#fbfa95',
    500: '#f4f862',
    950: '#000000',
  },
}
SCSS
$custom: #f4f862;
$custom-light: #fbfa95;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f862",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 61.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94876,
    "c": 0.1692,
    "h": 110.7
  },
  "luminance": 0.8725
}

Semantic roles & 50–950 ramp

primary
#F4F862
secondary
#322ED0
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F862

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

Preview Lab → · Contrast checker → · Palette generator →

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