#F4E298#F4E298

#F4E298 is a very light, moderate yellow. Relative luminance 0.759; OKLCH L 91.1% C 0.095 H 96.1°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F4E298
RGBrgb(244, 226, 152)
HSLhsl(48, 81%, 78%)
HSVhsv(48, 38%, 96%)
CMYKcmyk(0%, 7.4%, 37.7%, 4.3%)
CIE-LABlab(89.81, -4.17, 38.42)
CIE-LCHlch(89.81, 38.64, 96.20°)
OKLaboklab(91.07% -0.0101 0.0947)
OKLCHoklch(91.07% 0.095 96.1)
XYZxyz(70.1734, 75.8950, 40.6524)
Luminance0.7589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E298 #98AAF4
analogous
#F4B498 #F4E298 #D8F498
triadic
#F4E298 #98F4E2 #E298F4
tetradic
#F4E298 #98F4B4 #98AAF4 #F498D8
square
#F4E298 #98F4B4 #98AAF4 #F498D8
split-complementary
#F4E298 #98D8F4 #B498F4
monochromatic
#E8C329 #EED261 #F4E298 #FAF2CF #FCF7E3

Accessibility & contrast

On white

1.30
#F4E298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#F4E298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E298
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E298#FFFFFF#000000##000000
##F4E2981.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE93
Deuteranopia (green-blind)
#F5E59B
Tritanopia (blue-blind)
#FFD8CF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f4e298;
/* rgb */ color: rgb(244, 226, 152);
/* oklch */ color: oklch(91.1% 0.095 96.1);
Tailwind
colors: {
  custom: {
    50: '#f9ebb7',
    500: '#f4e298',
    950: '#000000',
  },
}
SCSS
$custom: #f4e298;
$custom-light: #f9ebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e298",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 152
  },
  "hsl": {
    "h": 48.261,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.91074,
    "c": 0.09519,
    "h": 96.1
  },
  "luminance": 0.75893
}

Semantic roles & 50–950 ramp

primary
#F4E298
secondary
#5E75D2
accent
#32DD08
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4E298

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

Preview Lab → · Contrast checker → · Palette generator →

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