#F4E28A#F4E28A

#F4E28A is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.110 H 98.1°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#F4E28A
RGBrgb(244, 226, 138)
HSLhsl(50, 83%, 75%)
HSVhsv(50, 43%, 96%)
CMYKcmyk(0%, 7.4%, 43.4%, 4.3%)
CIE-LABlab(89.61, -5.64, 45.13)
CIE-LCHlch(89.61, 45.48, 97.12°)
OKLaboklab(90.85% -0.0155 0.1093)
OKLCHoklch(90.85% 0.11 98.1)
XYZxyz(69.0937, 75.4631, 34.9661)
Luminance0.7546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E28A #8A9CF4
analogous
#F4AD8A #F4E28A #D1F48A
triadic
#F4E28A #8AF4E2 #E28AF4
tetradic
#F4E28A #8AF4AD #8A9CF4 #F48AD1
square
#F4E28A #8AF4AD #8A9CF4 #F48AD1
split-complementary
#F4E28A #8AD1F4 #AD8AF4
monochromatic
#E9C61A #EFD452 #F4E28A #F9F0C2 #FCF8E3

Accessibility & contrast

On white

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

On black

16.09
#F4E28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E28A
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E28A#FFFFFF#000000##000000
##F4E28A1.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e28a;
/* rgb */ color: rgb(244, 226, 138);
/* oklch */ color: oklch(90.8% 0.110 98.1);
Tailwind
colors: {
  custom: {
    50: '#f9eaad',
    500: '#f4e28a',
    950: '#000000',
  },
}
SCSS
$custom: #f4e28a;
$custom-light: #f9eaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e28a",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 138
  },
  "hsl": {
    "h": 49.811,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9085,
    "c": 0.1104,
    "h": 98.1
  },
  "luminance": 0.75461
}

Semantic roles & 50–950 ramp

primary
#F4E28A
secondary
#5167D1
accent
#2BDF06
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E28A

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

Preview Lab → · Contrast checker → · Palette generator →

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