#F4E87F#F4E87F

#F4E87F is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.9% C 0.127 H 102.8°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#F4E87F
RGBrgb(244, 232, 127)
HSLhsl(54, 84%, 73%)
HSVhsv(54, 48%, 96%)
CMYKcmyk(0%, 4.9%, 48%, 4.3%)
CIE-LABlab(91.00, -9.67, 52.16)
CIE-LCHlch(91.00, 53.04, 100.51°)
OKLaboklab(91.91% -0.0281 0.1242)
OKLCHoklch(91.91% 0.127 102.8)
XYZxyz(69.9975, 78.4808, 31.5357)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E87F #7F8BF4
analogous
#F4AD7F #F4E87F #C6F47F
triadic
#F4E87F #7FF4E8 #E87FF4
tetradic
#F4E87F #7FF4AD #7F8BF4 #F47FC6
square
#F4E87F #7FF4AD #7F8BF4 #F47FC6
split-complementary
#F4E87F #7FC6F4 #AD7FF4
monochromatic
#E5CF14 #EFDE47 #F4E87F #F9F2B7 #FDFAE3

Accessibility & contrast

On white

1.26
#F4E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#F4E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E87F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E87F#FFFFFF#000000##000000
##F4E87F1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#FDE884
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e87f;
/* rgb */ color: rgb(244, 232, 127);
/* oklch */ color: oklch(91.9% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#faefa6',
    500: '#f4e87f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e87f;
$custom-light: #faefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e87f",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 53.846,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91905,
    "c": 0.12739,
    "h": 102.8
  },
  "luminance": 0.78479
}

Semantic roles & 50–950 ramp

primary
#F4E87F
secondary
#4856D0
accent
#1BE105
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F4E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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