#F4E28C#F4E28C

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

Color values

HEX#F4E28C
RGBrgb(244, 226, 140)
HSLhsl(50, 83%, 75%)
HSVhsv(50, 43%, 96%)
CMYKcmyk(0%, 7.4%, 42.6%, 4.3%)
CIE-LABlab(89.64, -5.44, 44.18)
CIE-LCHlch(89.64, 44.51, 97.02°)
OKLaboklab(90.88% -0.0147 0.1073)
OKLCHoklch(90.88% 0.108 97.8)
XYZxyz(69.2399, 75.5216, 35.7357)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E28C #8C9EF4
analogous
#F4AE8C #F4E28C #D2F48C
triadic
#F4E28C #8CF4E2 #E28CF4
tetradic
#F4E28C #8CF4AE #8C9EF4 #F48CD2
square
#F4E28C #8CF4AE #8C9EF4 #F48CD2
split-complementary
#F4E28C #8CD2F4 #AE8CF4
monochromatic
#E9C61C #EFD454 #F4E28C #F9F0C4 #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4E28C#FFFFFF#000000##000000
##F4E28C1.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)
#F2DE85
Deuteranopia (green-blind)
#F7E48F
Tritanopia (blue-blind)
#FFD6CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e28c;
/* rgb */ color: rgb(244, 226, 140);
/* oklch */ color: oklch(90.9% 0.108 97.8);
Tailwind
colors: {
  custom: {
    50: '#f9eaaf',
    500: '#f4e28c',
    950: '#000000',
  },
}
SCSS
$custom: #f4e28c;
$custom-light: #f9eaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e28c",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 140
  },
  "hsl": {
    "h": 49.615,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.9088,
    "c": 0.10828,
    "h": 97.8
  },
  "luminance": 0.75519
}

Semantic roles & 50–950 ramp

primary
#F4E28C
secondary
#5369D1
accent
#2CDF07
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E28C

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

Preview Lab → · Contrast checker → · Palette generator →

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