#F4E28F#F4E28F

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

Color values

HEX#F4E28F
RGBrgb(244, 226, 143)
HSLhsl(49, 82%, 76%)
HSVhsv(49, 41%, 96%)
CMYKcmyk(0%, 7.4%, 41.4%, 4.3%)
CIE-LABlab(89.68, -5.13, 42.74)
CIE-LCHlch(89.68, 43.05, 96.85°)
OKLaboklab(90.93% -0.0136 0.1042)
OKLCHoklch(90.93% 0.105 97.4)
XYZxyz(69.4641, 75.6113, 36.9166)
Luminance0.7561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E28F #8FA1F4
analogous
#F4AF8F #F4E28F #D3F48F
triadic
#F4E28F #8FF4E2 #E28FF4
tetradic
#F4E28F #8FF4AF #8FA1F4 #F48FD3
square
#F4E28F #8FF4AF #8FA1F4 #F48FD3
split-complementary
#F4E28F #8FD3F4 #AF8FF4
monochromatic
#E9C520 #EFD457 #F4E28F #F9F0C7 #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4E28F#FFFFFF#000000##000000
##F4E28F1.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)
#F1DE89
Deuteranopia (green-blind)
#F6E492
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e28f;
/* rgb */ color: rgb(244, 226, 143);
/* oklch */ color: oklch(90.9% 0.105 97.4);
Tailwind
colors: {
  custom: {
    50: '#f9eab1',
    500: '#f4e28f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e28f;
$custom-light: #f9eab1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e28f",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 49.307,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90927,
    "c": 0.10506,
    "h": 97.4
  },
  "luminance": 0.75609
}

Semantic roles & 50–950 ramp

primary
#F4E28F
secondary
#566CD1
accent
#2DDF07
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #F4E28F

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

Preview Lab → · Contrast checker → · Palette generator →

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