#F4F875#F4F875

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

Color values

HEX#F4F875
RGBrgb(244, 248, 117)
HSLhsl(62, 90%, 72%)
HSVhsv(62, 53%, 97%)
CMYKcmyk(1.6%, 0%, 52.8%, 2.7%)
CIE-LABlab(95.02, -18.35, 61.49)
CIE-LCHlch(95.02, 64.17, 106.62°)
OKLaboklab(95.07% -0.054 0.1437)
OKLCHoklch(95.07% 0.153 110.6)
XYZxyz(74.0883, 87.6539, 29.8423)
Luminance0.8765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F875 #7975F8
analogous
#F8BB75 #F4F875 #B3F875
triadic
#F4F875 #75F4F8 #F875F4
tetradic
#F4F875 #75F8BB #7975F8 #F875B3
square
#F4F875 #75F8BB #7975F8 #F875B3
split-complementary
#F4F875 #75B3F8 #BB75F8
monochromatic
#E0E70C #EFF53B #F4F875 #F9FBAF #FDFEE2

Accessibility & contrast

On white

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

On black

18.53
#F4F875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F875
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F875#FFFFFF#000000##000000
##F4F8751.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4f875;
/* rgb */ color: rgb(244, 248, 117);
/* oklch */ color: oklch(95.1% 0.153 110.6);
Tailwind
colors: {
  custom: {
    50: '#fafaa0',
    500: '#f4f875',
    950: '#000000',
  },
}
SCSS
$custom: #f4f875;
$custom-light: #fafaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f875",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 61.832,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95066,
    "c": 0.15349,
    "h": 110.6
  },
  "luminance": 0.87652
}

Semantic roles & 50–950 ramp

primary
#F4F875
secondary
#423ED3
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F875

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

Preview Lab → · Contrast checker → · Palette generator →

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