#F4F87A#F4F87A

#F4F87A is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.1% C 0.149 H 110.6°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F4F87A
RGBrgb(244, 248, 122)
HSLhsl(62, 90%, 73%)
HSVhsv(62, 51%, 97%)
CMYKcmyk(1.6%, 0%, 50.8%, 2.7%)
CIE-LABlab(95.07, -17.95, 59.31)
CIE-LCHlch(95.07, 61.97, 106.84°)
OKLaboklab(95.12% -0.0523 0.1395)
OKLCHoklch(95.12% 0.149 110.6)
XYZxyz(74.3901, 87.7747, 31.4321)
Luminance0.8777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F87A #7E7AF8
analogous
#F8BD7A #F4F87A #B5F87A
triadic
#F4F87A #7AF4F8 #F87AF4
tetradic
#F4F87A #7AF8BD #7E7AF8 #F87AB5
square
#F4F87A #7AF8BD #7E7AF8 #F87AB5
split-complementary
#F4F87A #7AB5F8 #BD7AF8
monochromatic
#E4EB0C #EFF540 #F4F87A #F9FBB4 #FDFDE2

Accessibility & contrast

On white

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

On black

18.55
#F4F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F87A
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F87A#FFFFFF#000000##000000
##F4F87A1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4f87a;
/* rgb */ color: rgb(244, 248, 122);
/* oklch */ color: oklch(95.1% 0.149 110.6);
Tailwind
colors: {
  custom: {
    50: '#fafaa4',
    500: '#f4f87a',
    950: '#000000',
  },
}
SCSS
$custom: #f4f87a;
$custom-light: #fafaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f87a",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 61.905,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95123,
    "c": 0.14895,
    "h": 110.6
  },
  "luminance": 0.87773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F4F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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