#F4EB97#F4EB97

#F4EB97 is a very light, moderate yellow. Relative luminance 0.809; OKLCH L 92.9% C 0.105 H 103.0°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F4EB97
RGBrgb(244, 235, 151)
HSLhsl(54, 81%, 77%)
HSVhsv(54, 38%, 96%)
CMYKcmyk(0%, 3.7%, 38.1%, 4.3%)
CIE-LABlab(92.08, -8.80, 41.85)
CIE-LCHlch(92.08, 42.77, 101.88°)
OKLaboklab(92.87% -0.0236 0.1025)
OKLCHoklch(92.87% 0.105 103)
XYZxyz(72.6037, 80.8860, 41.0601)
Luminance0.8088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EB97 #97A0F4
analogous
#F4BD97 #F4EB97 #CEF497
triadic
#F4EB97 #97F4EB #EB97F4
tetradic
#F4EB97 #97F4BD #97A0F4 #F497CE
square
#F4EB97 #97F4BD #97A0F4 #F497CE
split-complementary
#F4EB97 #97CEF4 #BD97F4
monochromatic
#E8D628 #EEE060 #F4EB97 #FAF6CE #FCFAE3

Accessibility & contrast

On white

1.22
#F4EB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#F4EB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EB97
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EB97#FFFFFF#000000##000000
##F4EB971.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E691
Deuteranopia (green-blind)
#FCEA9A
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f4eb97;
/* rgb */ color: rgb(244, 235, 151);
/* oklch */ color: oklch(92.9% 0.105 103.0);
Tailwind
colors: {
  custom: {
    50: '#f9f1b6',
    500: '#f4eb97',
    950: '#000000',
  },
}
SCSS
$custom: #f4eb97;
$custom-light: #f9f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4eb97",
  "rgb": {
    "r": 244,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 54.194,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92866,
    "c": 0.1052,
    "h": 103
  },
  "luminance": 0.80884
}

Semantic roles & 50–950 ramp

primary
#F4EB97
secondary
#5D68D2
accent
#1DDD08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4EB97

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

Preview Lab → · Contrast checker → · Palette generator →

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