#F4E08F#F4E08F

#F4E08F is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.103 H 95.9°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F4E08F
RGBrgb(244, 224, 143)
HSLhsl(48, 82%, 76%)
HSVhsv(48, 41%, 96%)
CMYKcmyk(0%, 8.2%, 41.4%, 4.3%)
CIE-LABlab(89.17, -4.12, 42.10)
CIE-LCHlch(89.17, 42.30, 95.59°)
OKLaboklab(90.53% -0.0107 0.1027)
OKLCHoklch(90.53% 0.103 95.9)
XYZxyz(68.9234, 74.5299, 36.7364)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E08F #8FA3F4
analogous
#F4AD8F #F4E08F #D5F48F
triadic
#F4E08F #8FF4E0 #E08FF4
tetradic
#F4E08F #8FF4AD #8FA3F4 #F48FD5
square
#F4E08F #8FF4AD #8FA3F4 #F48FD5
split-complementary
#F4E08F #8FD5F4 #AD8FF4
monochromatic
#E9C120 #EFD157 #F4E08F #F9EFC7 #FCF7E3

Accessibility & contrast

On white

1.32
#F4E08F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#F4E08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E08F
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E08F#FFFFFF#000000##000000
##F4E08F1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDC89
Deuteranopia (green-blind)
#F5E392
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e08f;
/* rgb */ color: rgb(244, 224, 143);
/* oklch */ color: oklch(90.5% 0.103 95.9);
Tailwind
colors: {
  custom: {
    50: '#f9e9b1',
    500: '#f4e08f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e08f;
$custom-light: #f9e9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e08f",
  "rgb": {
    "r": 244,
    "g": 224,
    "b": 143
  },
  "hsl": {
    "h": 48.119,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90527,
    "c": 0.10326,
    "h": 95.9
  },
  "luminance": 0.74528
}

Semantic roles & 50–950 ramp

primary
#F4E08F
secondary
#566ED1
accent
#32DF07
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #F4E08F

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

Preview Lab → · Contrast checker → · Palette generator →

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