#F4E28B#F4E28B

#F4E28B is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.109 H 97.9°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F4E28B
RGBrgb(244, 226, 139)
HSLhsl(50, 83%, 75%)
HSVhsv(50, 43%, 96%)
CMYKcmyk(0%, 7.4%, 43%, 4.3%)
CIE-LABlab(89.62, -5.54, 44.65)
CIE-LCHlch(89.62, 44.99, 97.07°)
OKLaboklab(90.87% -0.0151 0.1083)
OKLCHoklch(90.87% 0.109 97.9)
XYZxyz(69.1665, 75.4922, 35.3491)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E28B #8B9DF4
analogous
#F4AD8B #F4E28B #D2F48B
triadic
#F4E28B #8BF4E2 #E28BF4
tetradic
#F4E28B #8BF4AD #8B9DF4 #F48BD2
square
#F4E28B #8BF4AD #8B9DF4 #F48BD2
split-complementary
#F4E28B #8BD2F4 #AD8BF4
monochromatic
#E9C61B #EFD453 #F4E28B #F9F0C3 #FCF8E3

Accessibility & contrast

On white

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

On black

16.10
#F4E28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E28B
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E28B#FFFFFF#000000##000000
##F4E28B1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE84
Deuteranopia (green-blind)
#F7E48E
Tritanopia (blue-blind)
#FFD6CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e28b;
/* rgb */ color: rgb(244, 226, 139);
/* oklch */ color: oklch(90.9% 0.109 97.9);
Tailwind
colors: {
  custom: {
    50: '#f9eaae',
    500: '#f4e28b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e28b;
$custom-light: #f9eaae;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e28b",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 139
  },
  "hsl": {
    "h": 49.714,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90865,
    "c": 0.10934,
    "h": 97.9
  },
  "luminance": 0.7549
}

Semantic roles & 50–950 ramp

primary
#F4E28B
secondary
#5268D1
accent
#2CDF06
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E28B

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

Preview Lab → · Contrast checker → · Palette generator →

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