#F4E38F#F4E38F

#F4E38F is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.106 H 98.2°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F4E38F
RGBrgb(244, 227, 143)
HSLhsl(50, 82%, 76%)
HSVhsv(50, 41%, 96%)
CMYKcmyk(0%, 7%, 41.4%, 4.3%)
CIE-LABlab(89.93, -5.64, 43.07)
CIE-LCHlch(89.93, 43.43, 97.46°)
OKLaboklab(91.13% -0.0151 0.1049)
OKLCHoklch(91.13% 0.106 98.2)
XYZxyz(69.7368, 76.1567, 37.0075)
Luminance0.7615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E38F #8FA0F4
analogous
#F4B08F #F4E38F #D2F48F
triadic
#F4E38F #8FF4E3 #E38FF4
tetradic
#F4E38F #8FF4B0 #8FA0F4 #F48FD2
square
#F4E38F #8FF4B0 #8FA0F4 #F48FD2
split-complementary
#F4E38F #8FD2F4 #B08FF4
monochromatic
#E9C720 #EFD557 #F4E38F #F9F1C7 #FCF8E3

Accessibility & contrast

On white

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

On black

16.23
#F4E38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E38F
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E38F#FFFFFF#000000##000000
##F4E38F1.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DF89
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f4e38f;
/* rgb */ color: rgb(244, 227, 143);
/* oklch */ color: oklch(91.1% 0.106 98.2);
Tailwind
colors: {
  custom: {
    50: '#f9ebb1',
    500: '#f4e38f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e38f;
$custom-light: #f9ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e38f",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 143
  },
  "hsl": {
    "h": 49.901,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91127,
    "c": 0.10599,
    "h": 98.2
  },
  "luminance": 0.76154
}

Semantic roles & 50–950 ramp

primary
#F4E38F
secondary
#566BD1
accent
#2BDF07
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #F4E38F

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

Preview Lab → · Contrast checker → · Palette generator →

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