#F4E387#F4E387

#F4E387 is a very light, moderate yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.114 H 99.1°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F4E387
RGBrgb(244, 227, 135)
HSLhsl(51, 83%, 74%)
HSVhsv(51, 45%, 96%)
CMYKcmyk(0%, 7%, 44.7%, 4.3%)
CIE-LABlab(89.82, -6.43, 46.86)
CIE-LCHlch(89.82, 47.30, 97.82°)
OKLaboklab(91.01% -0.018 0.113)
OKLCHoklch(91.01% 0.114 99.1)
XYZxyz(69.1522, 75.9229, 33.9289)
Luminance0.7592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E387 #8798F4
analogous
#F4AD87 #F4E387 #CFF487
triadic
#F4E387 #87F4E3 #E387F4
tetradic
#F4E387 #87F4AD #8798F4 #F487CF
square
#F4E387 #87F4AD #8798F4 #F487CF
split-complementary
#F4E387 #87CFF4 #AD87F4
monochromatic
#EAC917 #EFD64F #F4E387 #F9F0BF #FCF8E3

Accessibility & contrast

On white

1.30
#F4E387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#F4E387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E387
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E387#FFFFFF#000000##000000
##F4E3871.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE80
Deuteranopia (green-blind)
#F8E58B
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f4e387;
/* rgb */ color: rgb(244, 227, 135);
/* oklch */ color: oklch(91.0% 0.114 99.1);
Tailwind
colors: {
  custom: {
    50: '#f9ebab',
    500: '#f4e387',
    950: '#000000',
  },
}
SCSS
$custom: #f4e387;
$custom-light: #f9ebab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e387",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 50.642,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91006,
    "c": 0.11446,
    "h": 99.1
  },
  "luminance": 0.75921
}

Semantic roles & 50–950 ramp

primary
#F4E387
secondary
#4F63D0
accent
#28E006
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F4E387

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

Preview Lab → · Contrast checker → · Palette generator →

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