#F4E796#F4E796

#F4E796 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.102 H 100.3°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F4E796
RGBrgb(244, 231, 150)
HSLhsl(52, 81%, 77%)
HSVhsv(52, 39%, 96%)
CMYKcmyk(0%, 5.3%, 38.5%, 4.3%)
CIE-LABlab(91.05, -6.91, 41.02)
CIE-LCHlch(91.05, 41.60, 99.56°)
OKLaboklab(92.04% -0.0182 0.1006)
OKLCHoklch(92.04% 0.102 100.3)
XYZxyz(71.3904, 78.5889, 40.2568)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E796 #96A3F4
analogous
#F4B896 #F4E796 #D2F496
triadic
#F4E796 #96F4E7 #E796F4
tetradic
#F4E796 #96F4B8 #96A3F4 #F496D2
square
#F4E796 #96F4B8 #96A3F4 #F496D2
split-complementary
#F4E796 #96D2F4 #B896F4
monochromatic
#E8CE27 #EEDA5F #F4E796 #FAF4CD #FCF9E3

Accessibility & contrast

On white

1.26
#F4E796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#F4E796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E796
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E796#FFFFFF#000000##000000
##F4E7961.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E290
Deuteranopia (green-blind)
#F9E899
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e796;
/* rgb */ color: rgb(244, 231, 150);
/* oklch */ color: oklch(92.0% 0.102 100.3);
Tailwind
colors: {
  custom: {
    50: '#f9eeb6',
    500: '#f4e796',
    950: '#000000',
  },
}
SCSS
$custom: #f4e796;
$custom-light: #f9eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e796",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 51.702,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92043,
    "c": 0.10219,
    "h": 100.3
  },
  "luminance": 0.78587
}

Semantic roles & 50–950 ramp

primary
#F4E796
secondary
#5C6CD2
accent
#26DD08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4E796

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

Preview Lab → · Contrast checker → · Palette generator →

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