#F4F87D#F4F87D

#F4F87D is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.146 H 110.5°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F4F87D
RGBrgb(244, 248, 125)
HSLhsl(62, 90%, 73%)
HSVhsv(62, 50%, 97%)
CMYKcmyk(1.6%, 0%, 49.6%, 2.7%)
CIE-LABlab(95.10, -17.70, 57.99)
CIE-LCHlch(95.10, 60.63, 106.97°)
OKLaboklab(95.16% -0.0513 0.1369)
OKLCHoklch(95.16% 0.146 110.5)
XYZxyz(74.5789, 87.8502, 32.4262)
Luminance0.8785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F87D #817DF8
analogous
#F8BE7D #F4F87D #B6F87D
triadic
#F4F87D #7DF4F8 #F87DF4
tetradic
#F4F87D #7DF8BE #817DF8 #F87DB6
square
#F4F87D #7DF8BE #817DF8 #F87DB6
split-complementary
#F4F87D #7DB6F8 #BE7DF8
monochromatic
#E6EE0D #EFF543 #F4F87D #F9FBB7 #FDFDE2

Accessibility & contrast

On white

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

On black

18.57
#F4F87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F87D
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F87D#FFFFFF#000000##000000
##F4F87D1.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF383
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f4f87d;
/* rgb */ color: rgb(244, 248, 125);
/* oklch */ color: oklch(95.2% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#fafaa5',
    500: '#f4f87d',
    950: '#000000',
  },
}
SCSS
$custom: #f4f87d;
$custom-light: #fafaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f87d",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 61.951,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95159,
    "c": 0.14615,
    "h": 110.5
  },
  "luminance": 0.87849
}

Semantic roles & 50–950 ramp

primary
#F4F87D
secondary
#4945D4
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F87D

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

Preview Lab → · Contrast checker → · Palette generator →

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