#F4F397#F4F397

#F4F397 is a very light, moderate yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.114 H 107.9°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#F4F397
RGBrgb(244, 243, 151)
HSLhsl(59, 81%, 77%)
HSVhsv(59, 38%, 96%)
CMYKcmyk(0%, 0.4%, 38.1%, 4.3%)
CIE-LABlab(94.13, -12.76, 44.47)
CIE-LCHlch(94.13, 46.27, 106.01°)
OKLaboklab(94.49% -0.035 0.1085)
OKLCHoklch(94.49% 0.114 107.9)
XYZxyz(74.9458, 85.5702, 41.8408)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F397 #9798F4
analogous
#F4C597 #F4F397 #C6F497
triadic
#F4F397 #97F4F3 #F397F4
tetradic
#F4F397 #97F4C5 #9798F4 #F497C6
square
#F4F397 #97F4C5 #9798F4 #F497C6
split-complementary
#F4F397 #97C6F4 #C597F4
monochromatic
#E8E628 #EEED60 #F4F397 #FAF9CE #FCFCE3

Accessibility & contrast

On white

1.16
#F4F397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#F4F397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F397
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F397#FFFFFF#000000##000000
##F4F3971.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FFF09B
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f4f397;
/* rgb */ color: rgb(244, 243, 151);
/* oklch */ color: oklch(94.5% 0.114 107.9);
Tailwind
colors: {
  custom: {
    50: '#f9f7b7',
    500: '#f4f397',
    950: '#000000',
  },
}
SCSS
$custom: #f4f397;
$custom-light: #f9f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f397",
  "rgb": {
    "r": 244,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 59.355,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94491,
    "c": 0.11399,
    "h": 107.9
  },
  "luminance": 0.85569
}

Semantic roles & 50–950 ramp

primary
#F4F397
secondary
#5D5ED2
accent
#0BDD08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F4F397

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

Preview Lab → · Contrast checker → · Palette generator →

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