#F4F877#F4F877

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

Color values

HEX#F4F877
RGBrgb(244, 248, 119)
HSLhsl(62, 90%, 72%)
HSVhsv(62, 52%, 97%)
CMYKcmyk(1.6%, 0%, 52%, 2.7%)
CIE-LABlab(95.04, -18.20, 60.62)
CIE-LCHlch(95.04, 63.30, 106.71°)
OKLaboklab(95.09% -0.0533 0.142)
OKLCHoklch(95.09% 0.152 110.6)
XYZxyz(74.2071, 87.7015, 30.4682)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F877 #7B77F8
analogous
#F8BB77 #F4F877 #B4F877
triadic
#F4F877 #77F4F8 #F877F4
tetradic
#F4F877 #77F8BB #7B77F8 #F877B4
square
#F4F877 #77F8BB #7B77F8 #F877B4
split-complementary
#F4F877 #77B4F8 #BB77F8
monochromatic
#E2E90C #EFF53D #F4F877 #F9FBB1 #FDFEE2

Accessibility & contrast

On white

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

On black

18.54
#F4F877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F877
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F877#FFFFFF#000000##000000
##F4F8771.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4f877;
/* rgb */ color: rgb(244, 248, 119);
/* oklch */ color: oklch(95.1% 0.152 110.6);
Tailwind
colors: {
  custom: {
    50: '#fafaa2',
    500: '#f4f877',
    950: '#000000',
  },
}
SCSS
$custom: #f4f877;
$custom-light: #fafaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f877",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 61.86,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95089,
    "c": 0.15169,
    "h": 110.6
  },
  "luminance": 0.877
}

Semantic roles & 50–950 ramp

primary
#F4F877
secondary
#443FD4
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F877

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

Preview Lab → · Contrast checker → · Palette generator →

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