#F4E487#F4E487

#F4E487 is a very light, moderate yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.115 H 99.7°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F4E487
RGBrgb(244, 228, 135)
HSLhsl(51, 83%, 74%)
HSVhsv(51, 45%, 96%)
CMYKcmyk(0%, 6.6%, 44.7%, 4.3%)
CIE-LABlab(90.08, -6.93, 47.18)
CIE-LCHlch(90.08, 47.69, 98.36°)
OKLaboklab(91.21% -0.0195 0.1137)
OKLCHoklch(91.21% 0.115 99.7)
XYZxyz(69.4265, 76.4715, 34.0203)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E487 #8797F4
analogous
#F4AE87 #F4E487 #CDF487
triadic
#F4E487 #87F4E4 #E487F4
tetradic
#F4E487 #87F4AE #8797F4 #F487CD
square
#F4E487 #87F4AE #8797F4 #F487CD
split-complementary
#F4E487 #87CDF4 #AE87F4
monochromatic
#EACB17 #EFD74F #F4E487 #F9F1BF #FCF9E3

Accessibility & contrast

On white

1.29
#F4E487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#F4E487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E487
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E487#FFFFFF#000000##000000
##F4E4871.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F9E58B
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f4e487;
/* rgb */ color: rgb(244, 228, 135);
/* oklch */ color: oklch(91.2% 0.115 99.7);
Tailwind
colors: {
  custom: {
    50: '#f9ecab',
    500: '#f4e487',
    950: '#000000',
  },
}
SCSS
$custom: #f4e487;
$custom-light: #f9ecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e487",
  "rgb": {
    "r": 244,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 51.193,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91207,
    "c": 0.1154,
    "h": 99.7
  },
  "luminance": 0.76469
}

Semantic roles & 50–950 ramp

primary
#F4E487
secondary
#4F62D0
accent
#26E006
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F4E487

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

Preview Lab → · Contrast checker → · Palette generator →

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