#F4E87B#F4E87B

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

Color values

HEX#F4E87B
RGBrgb(244, 232, 123)
HSLhsl(54, 85%, 72%)
HSVhsv(54, 50%, 96%)
CMYKcmyk(0%, 4.9%, 49.6%, 4.3%)
CIE-LABlab(90.95, -10.02, 53.98)
CIE-LCHlch(90.95, 54.91, 100.52°)
OKLaboklab(91.85% -0.0296 0.1279)
OKLCHoklch(91.85% 0.131 103)
XYZxyz(69.7419, 78.3786, 30.1899)
Luminance0.7838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E87B #7B87F4
analogous
#F4AC7B #F4E87B #C3F47B
triadic
#F4E87B #7BF4E8 #E87BF4
tetradic
#F4E87B #7BF4AC #7B87F4 #F47BC3
square
#F4E87B #7BF4AC #7B87F4 #F47BC3
split-complementary
#F4E87B #7BC3F4 #AC7BF4
monochromatic
#E2CD13 #EFDE43 #F4E87B #F9F2B3 #FDFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4E87B#FFFFFF#000000##000000
##F4E87B1.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)
#F9E271
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e87b;
/* rgb */ color: rgb(244, 232, 123);
/* oklch */ color: oklch(91.9% 0.131 103.0);
Tailwind
colors: {
  custom: {
    50: '#faefa3',
    500: '#f4e87b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e87b;
$custom-light: #faefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e87b",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 54.05,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91854,
    "c": 0.13131,
    "h": 103
  },
  "luminance": 0.78376
}

Semantic roles & 50–950 ramp

primary
#F4E87B
secondary
#4452CF
accent
#1AE104
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F4E87B

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

Preview Lab → · Contrast checker → · Palette generator →

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