#F4F870#F4F870

#F4F870 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.0% C 0.158 H 110.6°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#F4F870
RGBrgb(244, 248, 112)
HSLhsl(62, 91%, 71%)
HSVhsv(62, 55%, 97%)
CMYKcmyk(1.6%, 0%, 54.8%, 2.7%)
CIE-LABlab(94.97, -18.74, 63.63)
CIE-LCHlch(94.97, 66.34, 106.41°)
OKLaboklab(95.01% -0.0555 0.1478)
OKLCHoklch(95.01% 0.158 110.6)
XYZxyz(73.8021, 87.5395, 28.3352)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F870 #7470F8
analogous
#F8B870 #F4F870 #B0F870
triadic
#F4F870 #70F4F8 #F870F4
tetradic
#F4F870 #70F8B8 #7470F8 #F870B0
square
#F4F870 #70F8B8 #7470F8 #F870B0
split-complementary
#F4F870 #70B0F8 #B870F8
monochromatic
#DCE30B #F0F536 #F4F870 #F8FBAA #FDFEE2

Accessibility & contrast

On white

1.13
#F4F870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#F4F870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F870
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F870#FFFFFF#000000##000000
##F4F8701.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f4f870;
/* rgb */ color: rgb(244, 248, 112);
/* oklch */ color: oklch(95.0% 0.158 110.6);
Tailwind
colors: {
  custom: {
    50: '#fafa9d',
    500: '#f4f870',
    950: '#000000',
  },
}
SCSS
$custom: #f4f870;
$custom-light: #fafa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f870",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 61.765,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95012,
    "c": 0.15786,
    "h": 110.6
  },
  "luminance": 0.87538
}

Semantic roles & 50–950 ramp

primary
#F4F870
secondary
#3E39D3
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F870

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

Preview Lab → · Contrast checker → · Palette generator →

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