#F4E987#F4E987

#F4E987 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.120 H 102.8°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F4E987
RGBrgb(244, 233, 135)
HSLhsl(54, 83%, 74%)
HSVhsv(54, 45%, 96%)
CMYKcmyk(0%, 4.5%, 44.7%, 4.3%)
CIE-LABlab(91.35, -9.43, 48.76)
CIE-LCHlch(91.35, 49.67, 100.95°)
OKLaboklab(92.22% -0.0267 0.1173)
OKLCHoklch(92.22% 0.12 102.8)
XYZxyz(70.8220, 79.2623, 34.4855)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E987 #8792F4
analogous
#F4B387 #F4E987 #C9F487
triadic
#F4E987 #87F4E9 #E987F4
tetradic
#F4E987 #87F4B3 #8792F4 #F487C9
square
#F4E987 #87F4B3 #8792F4 #F487C9
split-complementary
#F4E987 #87C9F4 #B387F4
monochromatic
#EAD417 #EFDF4F #F4E987 #F9F3BF #FCFAE3

Accessibility & contrast

On white

1.25
#F4E987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F4E987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E987
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E987#FFFFFF#000000##000000
##F4E9871.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E37F
Deuteranopia (green-blind)
#FDE98B
Tritanopia (blue-blind)
#FFDDD2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e987;
/* rgb */ color: rgb(244, 233, 135);
/* oklch */ color: oklch(92.2% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#f9efab',
    500: '#f4e987',
    950: '#000000',
  },
}
SCSS
$custom: #f4e987;
$custom-light: #f9efab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e987",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 53.945,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92218,
    "c": 0.12028,
    "h": 102.8
  },
  "luminance": 0.7926
}

Semantic roles & 50–950 ramp

primary
#F4E987
secondary
#4F5CD0
accent
#1CE006
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F4E987

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

Preview Lab → · Contrast checker → · Palette generator →

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