#F4E397#F4E397

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

Color values

HEX#F4E397
RGBrgb(244, 227, 151)
HSLhsl(49, 81%, 77%)
HSVhsv(49, 38%, 96%)
CMYKcmyk(0%, 7%, 38.1%, 4.3%)
CIE-LABlab(90.05, -4.79, 39.23)
CIE-LCHlch(90.05, 39.52, 96.96°)
OKLaboklab(91.26% -0.012 0.0965)
OKLCHoklch(91.26% 0.097 97.1)
XYZxyz(70.3646, 76.4078, 40.3138)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E397 #97A8F4
analogous
#F4B497 #F4E397 #D7F497
triadic
#F4E397 #97F4E3 #E397F4
tetradic
#F4E397 #97F4B4 #97A8F4 #F497D7
square
#F4E397 #97F4B4 #97A8F4 #F497D7
split-complementary
#F4E397 #97D7F4 #B497F4
monochromatic
#E8C528 #EED460 #F4E397 #FAF2CE #FCF8E3

Accessibility & contrast

On white

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

On black

16.28
#F4E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E397
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E397#FFFFFF#000000##000000
##F4E3971.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF91
Deuteranopia (green-blind)
#F6E59A
Tritanopia (blue-blind)
#FFD8D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f4e397;
/* rgb */ color: rgb(244, 227, 151);
/* oklch */ color: oklch(91.3% 0.097 97.1);
Tailwind
colors: {
  custom: {
    50: '#f9ebb6',
    500: '#f4e397',
    950: '#000000',
  },
}
SCSS
$custom: #f4e397;
$custom-light: #f9ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e397",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 49.032,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91257,
    "c": 0.09722,
    "h": 97.1
  },
  "luminance": 0.76406
}

Semantic roles & 50–950 ramp

primary
#F4E397
secondary
#5D72D2
accent
#2FDD08
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4E397

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

Preview Lab → · Contrast checker → · Palette generator →

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