#F4E97F#F4E97F

#F4E97F is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.128 H 103.3°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F4E97F
RGBrgb(244, 233, 127)
HSLhsl(54, 84%, 73%)
HSVhsv(54, 48%, 96%)
CMYKcmyk(0%, 4.5%, 48%, 4.3%)
CIE-LABlab(91.25, -10.17, 52.47)
CIE-LCHlch(91.25, 53.44, 100.97°)
OKLaboklab(92.11% -0.0296 0.1249)
OKLCHoklch(92.11% 0.128 103.3)
XYZxyz(70.2797, 79.0454, 31.6298)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E97F #7F8AF4
analogous
#F4AE7F #F4E97F #C4F47F
triadic
#F4E97F #7FF4E9 #E97FF4
tetradic
#F4E97F #7FF4AE #7F8AF4 #F47FC4
square
#F4E97F #7FF4AE #7F8AF4 #F47FC4
split-complementary
#F4E97F #7FC4F4 #AE7FF4
monochromatic
#E5D114 #EFDF47 #F4E97F #F9F3B7 #FDFAE3

Accessibility & contrast

On white

1.25
#F4E97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#F4E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E97F
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E97F#FFFFFF#000000##000000
##F4E97F1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE376
Deuteranopia (green-blind)
#FDE984
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e97f;
/* rgb */ color: rgb(244, 233, 127);
/* oklch */ color: oklch(92.1% 0.128 103.3);
Tailwind
colors: {
  custom: {
    50: '#faefa6',
    500: '#f4e97f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e97f;
$custom-light: #faefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e97f",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 54.359,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92109,
    "c": 0.12837,
    "h": 103.3
  },
  "luminance": 0.79043
}

Semantic roles & 50–950 ramp

primary
#F4E97F
secondary
#4854D0
accent
#1AE105
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F4E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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