#F4E38B#F4E38B

#F4E38B is a very light, moderate yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.110 H 98.6°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F4E38B
RGBrgb(244, 227, 139)
HSLhsl(50, 83%, 75%)
HSVhsv(50, 43%, 96%)
CMYKcmyk(0%, 7%, 43%, 4.3%)
CIE-LABlab(89.88, -6.04, 44.97)
CIE-LCHlch(89.88, 45.37, 97.65°)
OKLaboklab(91.07% -0.0166 0.109)
OKLCHoklch(91.07% 0.11 98.6)
XYZxyz(69.4392, 76.0376, 35.4400)
Luminance0.7603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E38B #8B9CF4
analogous
#F4AF8B #F4E38B #D0F48B
triadic
#F4E38B #8BF4E3 #E38BF4
tetradic
#F4E38B #8BF4AF #8B9CF4 #F48BD0
square
#F4E38B #8BF4AF #8B9CF4 #F48BD0
split-complementary
#F4E38B #8BD0F4 #AF8BF4
monochromatic
#E9C81B #EFD653 #F4E38B #F9F0C3 #FCF8E3

Accessibility & contrast

On white

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

On black

16.21
#F4E38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E38B
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E38B#FFFFFF#000000##000000
##F4E38B1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e38b;
/* rgb */ color: rgb(244, 227, 139);
/* oklch */ color: oklch(91.1% 0.110 98.6);
Tailwind
colors: {
  custom: {
    50: '#f9ebae',
    500: '#f4e38b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e38b;
$custom-light: #f9ebae;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e38b",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 139
  },
  "hsl": {
    "h": 50.286,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91066,
    "c": 0.11026,
    "h": 98.6
  },
  "luminance": 0.76035
}

Semantic roles & 50–950 ramp

primary
#F4E38B
secondary
#5267D1
accent
#29DF06
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E38B

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

Preview Lab → · Contrast checker → · Palette generator →

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