#F4E087#F4E087

#F4E087 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.112 H 97.0°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F4E087
RGBrgb(244, 224, 135)
HSLhsl(49, 83%, 74%)
HSVhsv(49, 45%, 96%)
CMYKcmyk(0%, 8.2%, 44.7%, 4.3%)
CIE-LABlab(89.06, -4.92, 45.91)
CIE-LCHlch(89.06, 46.18, 96.12°)
OKLaboklab(90.4% -0.0137 0.1109)
OKLCHoklch(90.4% 0.112 97)
XYZxyz(68.3389, 74.2961, 33.6578)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E087 #879BF4
analogous
#F4AA87 #F4E087 #D2F487
triadic
#F4E087 #87F4E0 #E087F4
tetradic
#F4E087 #87F4AA #879BF4 #F487D2
square
#F4E087 #87F4AA #879BF4 #F487D2
split-complementary
#F4E087 #87D2F4 #AA87F4
monochromatic
#EAC317 #EFD24F #F4E087 #F9EEBF #FCF8E3

Accessibility & contrast

On white

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

On black

15.86
#F4E087 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E087
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E087#FFFFFF#000000##000000
##F4E0871.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#F6E38A
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e087;
/* rgb */ color: rgb(244, 224, 135);
/* oklch */ color: oklch(90.4% 0.112 97.0);
Tailwind
colors: {
  custom: {
    50: '#f9e9ab',
    500: '#f4e087',
    950: '#000000',
  },
}
SCSS
$custom: #f4e087;
$custom-light: #f9e9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e087",
  "rgb": {
    "r": 244,
    "g": 224,
    "b": 135
  },
  "hsl": {
    "h": 48.991,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90404,
    "c": 0.11174,
    "h": 97
  },
  "luminance": 0.74294
}

Semantic roles & 50–950 ramp

primary
#F4E087
secondary
#4F67D0
accent
#2EE006
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F4E087

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

Preview Lab → · Contrast checker → · Palette generator →

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