#F4E08B#F4E08B

#F4E08B is a very light, moderate yellow. Relative luminance 0.744; OKLCH L 90.5% C 0.108 H 96.5°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#F4E08B
RGBrgb(244, 224, 139)
HSLhsl(49, 83%, 75%)
HSVhsv(49, 43%, 96%)
CMYKcmyk(0%, 8.2%, 43%, 4.3%)
CIE-LABlab(89.12, -4.53, 44.01)
CIE-LCHlch(89.12, 44.24, 95.87°)
OKLaboklab(90.46% -0.0122 0.1069)
OKLCHoklch(90.46% 0.108 96.5)
XYZxyz(68.6258, 74.4109, 35.1689)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E08B #8B9FF4
analogous
#F4AB8B #F4E08B #D4F48B
triadic
#F4E08B #8BF4E0 #E08BF4
tetradic
#F4E08B #8BF4AB #8B9FF4 #F48BD4
square
#F4E08B #8BF4AB #8B9FF4 #F48BD4
split-complementary
#F4E08B #8BD4F4 #AB8BF4
monochromatic
#E9C21B #EFD153 #F4E08B #F9EFC3 #FCF8E3

Accessibility & contrast

On white

1.32
#F4E08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#F4E08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E08B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E08B#FFFFFF#000000##000000
##F4E08B1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC84
Deuteranopia (green-blind)
#F5E38E
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e08b;
/* rgb */ color: rgb(244, 224, 139);
/* oklch */ color: oklch(90.5% 0.108 96.5);
Tailwind
colors: {
  custom: {
    50: '#f9e9ae',
    500: '#f4e08b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e08b;
$custom-light: #f9e9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e08b",
  "rgb": {
    "r": 244,
    "g": 224,
    "b": 139
  },
  "hsl": {
    "h": 48.571,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90464,
    "c": 0.10754,
    "h": 96.5
  },
  "luminance": 0.74408
}

Semantic roles & 50–950 ramp

primary
#F4E08B
secondary
#526AD1
accent
#30DF06
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E08B

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

Preview Lab → · Contrast checker → · Palette generator →

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