#F4E997#F4E997

#F4E997 is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.5% C 0.103 H 101.6°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#F4E997
RGBrgb(244, 233, 151)
HSLhsl(53, 81%, 77%)
HSVhsv(53, 38%, 96%)
CMYKcmyk(0%, 4.5%, 38.1%, 4.3%)
CIE-LABlab(91.57, -7.80, 41.20)
CIE-LCHlch(91.57, 41.93, 100.73°)
OKLaboklab(92.46% -0.0207 0.101)
OKLCHoklch(92.46% 0.103 101.6)
XYZxyz(72.0343, 79.7472, 40.8703)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E997 #97A2F4
analogous
#F4BA97 #F4E997 #D1F497
triadic
#F4E997 #97F4E9 #E997F4
tetradic
#F4E997 #97F4BA #97A2F4 #F497D1
square
#F4E997 #97F4BA #97A2F4 #F497D1
split-complementary
#F4E997 #97D1F4 #BA97F4
monochromatic
#E8D228 #EEDD60 #F4E997 #FAF5CE #FCF9E3

Accessibility & contrast

On white

1.24
#F4E997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#F4E997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E997
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E997#FFFFFF#000000##000000
##F4E9971.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E491
Deuteranopia (green-blind)
#FBE99A
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4e997;
/* rgb */ color: rgb(244, 233, 151);
/* oklch */ color: oklch(92.5% 0.103 101.6);
Tailwind
colors: {
  custom: {
    50: '#f9efb6',
    500: '#f4e997',
    950: '#000000',
  },
}
SCSS
$custom: #f4e997;
$custom-light: #f9efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e997",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 52.903,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92462,
    "c": 0.10311,
    "h": 101.6
  },
  "luminance": 0.79745
}

Semantic roles & 50–950 ramp

primary
#F4E997
secondary
#5D6BD2
accent
#21DD08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4E997

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

Preview Lab → · Contrast checker → · Palette generator →

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