#F4F873#F4F873

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

Color values

HEX#F4F873
RGBrgb(244, 248, 115)
HSLhsl(62, 90%, 71%)
HSVhsv(62, 54%, 97%)
CMYKcmyk(1.6%, 0%, 53.6%, 2.7%)
CIE-LABlab(95.00, -18.51, 62.35)
CIE-LCHlch(95.00, 65.04, 106.54°)
OKLaboklab(95.04% -0.0546 0.1453)
OKLCHoklch(95.04% 0.155 110.6)
XYZxyz(73.9719, 87.6074, 29.2296)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F873 #7773F8
analogous
#F8B973 #F4F873 #B1F873
triadic
#F4F873 #73F4F8 #F873F4
tetradic
#F4F873 #73F8B9 #7773F8 #F873B1
square
#F4F873 #73F8B9 #7773F8 #F873B1
split-complementary
#F4F873 #73B1F8 #B973F8
monochromatic
#DFE50B #EFF539 #F4F873 #F9FBAD #FDFEE2

Accessibility & contrast

On white

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

On black

18.52
#F4F873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F873
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F873#FFFFFF#000000##000000
##F4F8731.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE66
Deuteranopia (green-blind)
#FFF37A
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f4f873;
/* rgb */ color: rgb(244, 248, 115);
/* oklch */ color: oklch(95.0% 0.155 110.6);
Tailwind
colors: {
  custom: {
    50: '#fafa9f',
    500: '#f4f873',
    950: '#000000',
  },
}
SCSS
$custom: #f4f873;
$custom-light: #fafa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f873",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 61.805,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95044,
    "c": 0.15525,
    "h": 110.6
  },
  "luminance": 0.87606
}

Semantic roles & 50–950 ramp

primary
#F4F873
secondary
#413CD3
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F873

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

Preview Lab → · Contrast checker → · Palette generator →

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