#F4E587#F4E587

#F4E587 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.116 H 100.4°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#F4E587
RGBrgb(244, 229, 135)
HSLhsl(52, 83%, 74%)
HSVhsv(52, 45%, 96%)
CMYKcmyk(0%, 6.1%, 44.7%, 4.3%)
CIE-LABlab(90.33, -7.44, 47.50)
CIE-LCHlch(90.33, 48.07, 98.90°)
OKLaboklab(91.41% -0.0209 0.1145)
OKLCHoklch(91.41% 0.116 100.4)
XYZxyz(69.7024, 77.0232, 34.1123)
Luminance0.7702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E587 #8796F4
analogous
#F4AF87 #F4E587 #CDF487
triadic
#F4E587 #87F4E5 #E587F4
tetradic
#F4E587 #87F4AF #8796F4 #F487CD
square
#F4E587 #87F4AF #8796F4 #F487CD
split-complementary
#F4E587 #87CDF4 #AF87F4
monochromatic
#EACD17 #EFD94F #F4E587 #F9F1BF #FCF9E3

Accessibility & contrast

On white

1.28
#F4E587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#F4E587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E587
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E587#FFFFFF#000000##000000
##F4E5871.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E07F
Deuteranopia (green-blind)
#F9E68B
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f4e587;
/* rgb */ color: rgb(244, 229, 135);
/* oklch */ color: oklch(91.4% 0.116 100.4);
Tailwind
colors: {
  custom: {
    50: '#f9edab',
    500: '#f4e587',
    950: '#000000',
  },
}
SCSS
$custom: #f4e587;
$custom-light: #f9edab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e587",
  "rgb": {
    "r": 244,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 51.743,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91409,
    "c": 0.11635,
    "h": 100.4
  },
  "luminance": 0.77021
}

Semantic roles & 50–950 ramp

primary
#F4E587
secondary
#4F61D0
accent
#24E006
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F4E587

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

Preview Lab → · Contrast checker → · Palette generator →

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