#F4E787#F4E787

#F4E787 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.118 H 101.6°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F4E787
RGBrgb(244, 231, 135)
HSLhsl(53, 83%, 74%)
HSVhsv(53, 45%, 96%)
CMYKcmyk(0%, 5.3%, 44.7%, 4.3%)
CIE-LABlab(90.84, -8.44, 48.13)
CIE-LCHlch(90.84, 48.86, 99.94°)
OKLaboklab(91.81% -0.0238 0.1159)
OKLCHoklch(91.81% 0.118 101.6)
XYZxyz(70.2590, 78.1364, 34.2978)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E787 #8794F4
analogous
#F4B187 #F4E787 #CBF487
triadic
#F4E787 #87F4E7 #E787F4
tetradic
#F4E787 #87F4B1 #8794F4 #F487CB
square
#F4E787 #87F4B1 #8794F4 #F487CB
split-complementary
#F4E787 #87CBF4 #B187F4
monochromatic
#EAD117 #EFDC4F #F4E787 #F9F2BF #FCF9E3

Accessibility & contrast

On white

1.26
#F4E787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F4E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E787
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E787#FFFFFF#000000##000000
##F4E7871.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17F
Deuteranopia (green-blind)
#FBE78B
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e787;
/* rgb */ color: rgb(244, 231, 135);
/* oklch */ color: oklch(91.8% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#f9eeab',
    500: '#f4e787',
    950: '#000000',
  },
}
SCSS
$custom: #f4e787;
$custom-light: #f9eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e787",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 52.844,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91813,
    "c": 0.1183,
    "h": 101.6
  },
  "luminance": 0.78134
}

Semantic roles & 50–950 ramp

primary
#F4E787
secondary
#4F5ED0
accent
#20E006
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F4E787

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

Preview Lab → · Contrast checker → · Palette generator →

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