#F4E498#F4E498

#F4E498 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.5% C 0.097 H 97.7°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#F4E498
RGBrgb(244, 228, 152)
HSLhsl(50, 81%, 78%)
HSVhsv(50, 38%, 96%)
CMYKcmyk(0%, 6.6%, 37.7%, 4.3%)
CIE-LABlab(90.32, -5.18, 39.08)
CIE-LCHlch(90.32, 39.42, 97.56°)
OKLaboklab(91.47% -0.0131 0.0962)
OKLCHoklch(91.47% 0.097 97.7)
XYZxyz(70.7204, 76.9890, 40.8347)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E498 #98A8F4
analogous
#F4B698 #F4E498 #D6F498
triadic
#F4E498 #98F4E4 #E498F4
tetradic
#F4E498 #98F4B6 #98A8F4 #F498D6
square
#F4E498 #98F4B6 #98A8F4 #F498D6
split-complementary
#F4E498 #98D6F4 #B698F4
monochromatic
#E8C729 #EED661 #F4E498 #FAF2CF #FCF8E3

Accessibility & contrast

On white

1.28
#F4E498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#F4E498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E498
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E498#FFFFFF#000000##000000
##F4E4981.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E092
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f4e498;
/* rgb */ color: rgb(244, 228, 152);
/* oklch */ color: oklch(91.5% 0.097 97.7);
Tailwind
colors: {
  custom: {
    50: '#f9ecb7',
    500: '#f4e498',
    950: '#000000',
  },
}
SCSS
$custom: #f4e498;
$custom-light: #f9ecb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e498",
  "rgb": {
    "r": 244,
    "g": 228,
    "b": 152
  },
  "hsl": {
    "h": 49.565,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.91474,
    "c": 0.09705,
    "h": 97.7
  },
  "luminance": 0.76987
}

Semantic roles & 50–950 ramp

primary
#F4E498
secondary
#5E72D2
accent
#2DDD08
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4E498

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

Preview Lab → · Contrast checker → · Palette generator →

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