#F4E398#F4E398

#F4E398 is a very light, moderate yellow. Relative luminance 0.764; OKLCH L 91.3% C 0.096 H 96.9°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F4E398
RGBrgb(244, 227, 152)
HSLhsl(49, 81%, 78%)
HSVhsv(49, 38%, 96%)
CMYKcmyk(0%, 7%, 37.7%, 4.3%)
CIE-LABlab(90.06, -4.68, 38.75)
CIE-LCHlch(90.06, 39.03, 96.89°)
OKLaboklab(91.27% -0.0116 0.0954)
OKLCHoklch(91.27% 0.096 96.9)
XYZxyz(70.4461, 76.4404, 40.7433)
Luminance0.7644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E398 #98A9F4
analogous
#F4B598 #F4E398 #D7F498
triadic
#F4E398 #98F4E3 #E398F4
tetradic
#F4E398 #98F4B5 #98A9F4 #F498D7
square
#F4E398 #98F4B5 #98A9F4 #F498D7
split-complementary
#F4E398 #98D7F4 #B598F4
monochromatic
#E8C529 #EED461 #F4E398 #FAF2CF #FCF7E3

Accessibility & contrast

On white

1.29
#F4E398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#F4E398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E398
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E398#FFFFFF#000000##000000
##F4E3981.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF93
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#FFD9D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f4e398;
/* rgb */ color: rgb(244, 227, 152);
/* oklch */ color: oklch(91.3% 0.096 96.9);
Tailwind
colors: {
  custom: {
    50: '#f9ebb7',
    500: '#f4e398',
    950: '#000000',
  },
}
SCSS
$custom: #f4e398;
$custom-light: #f9ebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e398",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 152
  },
  "hsl": {
    "h": 48.913,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.91274,
    "c": 0.09611,
    "h": 96.9
  },
  "luminance": 0.76438
}

Semantic roles & 50–950 ramp

primary
#F4E398
secondary
#5E73D2
accent
#30DD08
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4E398

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

Preview Lab → · Contrast checker → · Palette generator →

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