#F4E28E#F4E28E

#F4E28E is a very light, moderate yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.106 H 97.6°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F4E28E
RGBrgb(244, 226, 142)
HSLhsl(49, 82%, 76%)
HSVhsv(49, 42%, 96%)
CMYKcmyk(0%, 7.4%, 41.8%, 4.3%)
CIE-LABlab(89.66, -5.24, 43.22)
CIE-LCHlch(89.66, 43.54, 96.91°)
OKLaboklab(90.91% -0.014 0.1052)
OKLCHoklch(90.91% 0.106 97.6)
XYZxyz(69.3887, 75.5811, 36.5194)
Luminance0.7558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E28E #8EA0F4
analogous
#F4AF8E #F4E28E #D3F48E
triadic
#F4E28E #8EF4E2 #E28EF4
tetradic
#F4E28E #8EF4AF #8EA0F4 #F48ED3
square
#F4E28E #8EF4AF #8EA0F4 #F48ED3
split-complementary
#F4E28E #8ED3F4 #AF8EF4
monochromatic
#E9C51E #EFD456 #F4E28E #F9F0C6 #FCF8E3

Accessibility & contrast

On white

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

On black

16.12
#F4E28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E28E
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E28E#FFFFFF#000000##000000
##F4E28E1.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE88
Deuteranopia (green-blind)
#F6E491
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e28e;
/* rgb */ color: rgb(244, 226, 142);
/* oklch */ color: oklch(90.9% 0.106 97.6);
Tailwind
colors: {
  custom: {
    50: '#f9eab0',
    500: '#f4e28e',
    950: '#000000',
  },
}
SCSS
$custom: #f4e28e;
$custom-light: #f9eab0;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e28e",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 142
  },
  "hsl": {
    "h": 49.412,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90911,
    "c": 0.10613,
    "h": 97.6
  },
  "luminance": 0.75579
}

Semantic roles & 50–950 ramp

primary
#F4E28E
secondary
#556BD1
accent
#2DDF07
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E28E

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

Preview Lab → · Contrast checker → · Palette generator →

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