#F4E179#F4E179

#F4E179 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.127 H 99.2°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#F4E179
RGBrgb(244, 225, 121)
HSLhsl(51, 85%, 72%)
HSVhsv(51, 50%, 96%)
CMYKcmyk(0%, 7.8%, 50.4%, 4.3%)
CIE-LABlab(89.14, -6.70, 52.76)
CIE-LCHlch(89.14, 53.18, 97.23°)
OKLaboklab(90.41% -0.0202 0.1251)
OKLCHoklch(90.41% 0.127 99.2)
XYZxyz(67.6867, 74.4665, 28.8935)
Luminance0.7446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E179 #798CF4
analogous
#F4A479 #F4E179 #CAF479
triadic
#F4E179 #79F4E1 #E179F4
tetradic
#F4E179 #79F4A4 #798CF4 #F479CA
square
#F4E179 #79F4A4 #798CF4 #F479CA
split-complementary
#F4E179 #79CAF4 #A479F4
monochromatic
#E0C012 #EFD440 #F4E179 #F9EEB2 #FDF9E3

Accessibility & contrast

On white

1.32
#F4E179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#F4E179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E179
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E179#FFFFFF#000000##000000
##F4E1791.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC70
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e179;
/* rgb */ color: rgb(244, 225, 121);
/* oklch */ color: oklch(90.4% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#faeaa2',
    500: '#f4e179',
    950: '#000000',
  },
}
SCSS
$custom: #f4e179;
$custom-light: #faeaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e179",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 121
  },
  "hsl": {
    "h": 50.732,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90411,
    "c": 0.1267,
    "h": 99.2
  },
  "luminance": 0.74464
}

Semantic roles & 50–950 ramp

primary
#F4E179
secondary
#4258CF
accent
#26E104
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E179

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

Preview Lab → · Contrast checker → · Palette generator →

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