#F4F478#F4F478

#F4F478 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.3% C 0.146 H 108.9°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F4F478
RGBrgb(244, 244, 120)
HSLhsl(60, 85%, 71%)
HSVhsv(60, 51%, 96%)
CMYKcmyk(0%, 0%, 50.8%, 4.3%)
CIE-LABlab(94.01, -16.18, 58.98)
CIE-LCHlch(94.01, 61.16, 105.34°)
OKLaboklab(94.27% -0.0475 0.1386)
OKLCHoklch(94.27% 0.146 108.9)
XYZxyz(73.0508, 85.2923, 30.3806)
Luminance0.8529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F478 #7878F4
analogous
#F4B678 #F4F478 #B6F478
triadic
#F4F478 #78F4F4 #F478F4
tetradic
#F4F478 #78F4B6 #7878F4 #F478B6
square
#F4F478 #78F4B6 #7878F4 #F478B6
split-complementary
#F4F478 #78B6F4 #B678F4
monochromatic
#DFDF12 #EFEF3F #F4F478 #F9F9B1 #FDFDE3

Accessibility & contrast

On white

1.16
#F4F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#F4F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F478
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F478#FFFFFF#000000##000000
##F4F4781.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f4f478;
/* rgb */ color: rgb(244, 244, 120);
/* oklch */ color: oklch(94.3% 0.146 108.9);
Tailwind
colors: {
  custom: {
    50: '#faf7a2',
    500: '#f4f478',
    950: '#000000',
  },
}
SCSS
$custom: #f4f478;
$custom-light: #faf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f478",
  "rgb": {
    "r": 244,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94274,
    "c": 0.14645,
    "h": 108.9
  },
  "luminance": 0.85291
}

Semantic roles & 50–950 ramp

primary
#F4F478
secondary
#4141CF
accent
#04E104
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F478

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

Preview Lab → · Contrast checker → · Palette generator →

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