#F4E497#F4E497

#F4E497 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.5% C 0.098 H 97.9°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#F4E497
RGBrgb(244, 228, 151)
HSLhsl(50, 81%, 77%)
HSVhsv(50, 38%, 96%)
CMYKcmyk(0%, 6.6%, 38.1%, 4.3%)
CIE-LABlab(90.30, -5.29, 39.56)
CIE-LCHlch(90.30, 39.91, 97.62°)
OKLaboklab(91.46% -0.0135 0.0972)
OKLCHoklch(91.46% 0.098 97.9)
XYZxyz(70.6389, 76.9564, 40.4052)
Luminance0.7695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E497 #97A7F4
analogous
#F4B597 #F4E497 #D6F497
triadic
#F4E497 #97F4E4 #E497F4
tetradic
#F4E497 #97F4B5 #97A7F4 #F497D6
square
#F4E497 #97F4B5 #97A7F4 #F497D6
split-complementary
#F4E497 #97D6F4 #B597F4
monochromatic
#E8C728 #EED660 #F4E497 #FAF2CE #FCF8E3

Accessibility & contrast

On white

1.28
#F4E497 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#F4E497 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E497
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E497#FFFFFF#000000##000000
##F4E4971.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E091
Deuteranopia (green-blind)
#F7E69A
Tritanopia (blue-blind)
#FFD9D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f4e497;
/* rgb */ color: rgb(244, 228, 151);
/* oklch */ color: oklch(91.5% 0.098 97.9);
Tailwind
colors: {
  custom: {
    50: '#f9ecb6',
    500: '#f4e497',
    950: '#000000',
  },
}
SCSS
$custom: #f4e497;
$custom-light: #f9ecb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e497",
  "rgb": {
    "r": 244,
    "g": 228,
    "b": 151
  },
  "hsl": {
    "h": 49.677,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91457,
    "c": 0.09817,
    "h": 97.9
  },
  "luminance": 0.76954
}

Semantic roles & 50–950 ramp

primary
#F4E497
secondary
#5D71D2
accent
#2DDD08
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4E497

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

Preview Lab → · Contrast checker → · Palette generator →

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