#F4E87C#F4E87C

#F4E87C is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.130 H 103.0°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F4E87C
RGBrgb(244, 232, 124)
HSLhsl(54, 85%, 72%)
HSVhsv(54, 49%, 96%)
CMYKcmyk(0%, 4.9%, 49.2%, 4.3%)
CIE-LABlab(90.96, -9.94, 53.53)
CIE-LCHlch(90.96, 54.44, 100.52°)
OKLaboklab(91.87% -0.0292 0.127)
OKLCHoklch(91.87% 0.13 103)
XYZxyz(69.8048, 78.4038, 30.5213)
Luminance0.7840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E87C #7C88F4
analogous
#F4AC7C #F4E87C #C4F47C
triadic
#F4E87C #7CF4E8 #E87CF4
tetradic
#F4E87C #7CF4AC #7C88F4 #F47CC4
square
#F4E87C #7CF4AC #7C88F4 #F47CC4
split-complementary
#F4E87C #7CC4F4 #AC7CF4
monochromatic
#E3CE13 #EFDE44 #F4E87C #F9F2B4 #FDFAE3

Accessibility & contrast

On white

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

On black

16.68
#F4E87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E87C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E87C#FFFFFF#000000##000000
##F4E87C1.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e87c;
/* rgb */ color: rgb(244, 232, 124);
/* oklch */ color: oklch(91.9% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#faefa4',
    500: '#f4e87c',
    950: '#000000',
  },
}
SCSS
$custom: #f4e87c;
$custom-light: #faefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e87c",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 124
  },
  "hsl": {
    "h": 54,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91866,
    "c": 0.13034,
    "h": 103
  },
  "luminance": 0.78402
}

Semantic roles & 50–950 ramp

primary
#F4E87C
secondary
#4553CF
accent
#1BE105
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F4E87C

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

Preview Lab → · Contrast checker → · Palette generator →

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