#F4EF8A#F4EF8A

#F4EF8A is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.5% C 0.123 H 106.1°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#F4EF8A
RGBrgb(244, 239, 138)
HSLhsl(57, 83%, 75%)
HSVhsv(57, 43%, 96%)
CMYKcmyk(0%, 2%, 43.4%, 4.3%)
CIE-LABlab(92.93, -12.12, 49.27)
CIE-LCHlch(92.93, 50.74, 103.82°)
OKLaboklab(93.48% -0.0341 0.1186)
OKLCHoklch(93.48% 0.123 106.1)
XYZxyz(72.7636, 82.8029, 36.1894)
Luminance0.8280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EF8A #8A8FF4
analogous
#F4BA8A #F4EF8A #C4F48A
triadic
#F4EF8A #8AF4EF #EF8AF4
tetradic
#F4EF8A #8AF4BA #8A8FF4 #F48AC4
square
#F4EF8A #8AF4BA #8A8FF4 #F48AC4
split-complementary
#F4EF8A #8AC4F4 #BA8AF4
monochromatic
#E9E01A #EFE752 #F4EF8A #F9F7C2 #FCFBE3

Accessibility & contrast

On white

1.20
#F4EF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#F4EF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EF8A
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EF8A#FFFFFF#000000##000000
##F4EF8A1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE882
Deuteranopia (green-blind)
#FFED8F
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f4ef8a;
/* rgb */ color: rgb(244, 239, 138);
/* oklch */ color: oklch(93.5% 0.123 106.1);
Tailwind
colors: {
  custom: {
    50: '#f9f4ae',
    500: '#f4ef8a',
    950: '#000000',
  },
}
SCSS
$custom: #f4ef8a;
$custom-light: #f9f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ef8a",
  "rgb": {
    "r": 244,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 57.17,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93481,
    "c": 0.12343,
    "h": 106.1
  },
  "luminance": 0.82801
}

Semantic roles & 50–950 ramp

primary
#F4EF8A
secondary
#5157D1
accent
#11DF06
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F4EF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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