#F4EA97#F4EA97

#F4EA97 is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.104 H 102.3°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#F4EA97
RGBrgb(244, 234, 151)
HSLhsl(54, 81%, 77%)
HSVhsv(54, 38%, 96%)
CMYKcmyk(0%, 4.1%, 38.1%, 4.3%)
CIE-LABlab(91.83, -8.30, 41.52)
CIE-LCHlch(91.83, 42.35, 101.31°)
OKLaboklab(92.66% -0.0221 0.1018)
OKLCHoklch(92.66% 0.104 102.3)
XYZxyz(72.3182, 80.3150, 40.9650)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EA97 #97A1F4
analogous
#F4BB97 #F4EA97 #D0F497
triadic
#F4EA97 #97F4EA #EA97F4
tetradic
#F4EA97 #97F4BB #97A1F4 #F497D0
square
#F4EA97 #97F4BB #97A1F4 #F497D0
split-complementary
#F4EA97 #97D0F4 #BB97F4
monochromatic
#E8D428 #EEDF60 #F4EA97 #FAF5CE #FCF9E3

Accessibility & contrast

On white

1.23
#F4EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#F4EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EA97
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EA97#FFFFFF#000000##000000
##F4EA971.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E591
Deuteranopia (green-blind)
#FCEA9A
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f4ea97;
/* rgb */ color: rgb(244, 234, 151);
/* oklch */ color: oklch(92.7% 0.104 102.3);
Tailwind
colors: {
  custom: {
    50: '#f9f0b6',
    500: '#f4ea97',
    950: '#000000',
  },
}
SCSS
$custom: #f4ea97;
$custom-light: #f9f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ea97",
  "rgb": {
    "r": 244,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 53.548,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92664,
    "c": 0.10414,
    "h": 102.3
  },
  "luminance": 0.80313
}

Semantic roles & 50–950 ramp

primary
#F4EA97
secondary
#5D6AD2
accent
#1FDD08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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