#F4E996#F4E996

#F4E996 is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.4% C 0.104 H 101.7°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F4E996
RGBrgb(244, 233, 150)
HSLhsl(53, 81%, 77%)
HSVhsv(53, 39%, 96%)
CMYKcmyk(0%, 4.5%, 38.5%, 4.3%)
CIE-LABlab(91.56, -7.91, 41.67)
CIE-LCHlch(91.56, 42.42, 100.75°)
OKLaboklab(92.45% -0.0211 0.1021)
OKLCHoklch(92.45% 0.104 101.7)
XYZxyz(71.9534, 79.7149, 40.4445)
Luminance0.7971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E996 #96A1F4
analogous
#F4BA96 #F4E996 #D0F496
triadic
#F4E996 #96F4E9 #E996F4
tetradic
#F4E996 #96F4BA #96A1F4 #F496D0
square
#F4E996 #96F4BA #96A1F4 #F496D0
split-complementary
#F4E996 #96D0F4 #BA96F4
monochromatic
#E8D227 #EEDD5F #F4E996 #FAF5CD #FCF9E3

Accessibility & contrast

On white

1.24
#F4E996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#F4E996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E996
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E996#FFFFFF#000000##000000
##F4E9961.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E490
Deuteranopia (green-blind)
#FBE999
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4e996;
/* rgb */ color: rgb(244, 233, 150);
/* oklch */ color: oklch(92.4% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#f9efb6',
    500: '#f4e996',
    950: '#000000',
  },
}
SCSS
$custom: #f4e996;
$custom-light: #f9efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e996",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 150
  },
  "hsl": {
    "h": 52.979,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92446,
    "c": 0.10422,
    "h": 101.7
  },
  "luminance": 0.79713
}

Semantic roles & 50–950 ramp

primary
#F4E996
secondary
#5C6AD2
accent
#21DD08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4E996

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

Preview Lab → · Contrast checker → · Palette generator →

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