#F4E08C#F4E08C

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

Color values

HEX#F4E08C
RGBrgb(244, 224, 140)
HSLhsl(48, 83%, 75%)
HSVhsv(48, 43%, 96%)
CMYKcmyk(0%, 8.2%, 42.6%, 4.3%)
CIE-LABlab(89.13, -4.43, 43.53)
CIE-LCHlch(89.13, 43.76, 95.81°)
OKLaboklab(90.48% -0.0118 0.1058)
OKLCHoklch(90.48% 0.106 96.4)
XYZxyz(68.6992, 74.4402, 35.5555)
Luminance0.7444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E08C #8CA0F4
analogous
#F4AC8C #F4E08C #D4F48C
triadic
#F4E08C #8CF4E0 #E08CF4
tetradic
#F4E08C #8CF4AC #8CA0F4 #F48CD4
square
#F4E08C #8CF4AC #8CA0F4 #F48CD4
split-complementary
#F4E08C #8CD4F4 #AC8CF4
monochromatic
#E9C21C #EFD154 #F4E08C #F9EFC4 #FCF7E3

Accessibility & contrast

On white

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

On black

15.89
#F4E08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E08C
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E08C#FFFFFF#000000##000000
##F4E08C1.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e08c;
/* rgb */ color: rgb(244, 224, 140);
/* oklch */ color: oklch(90.5% 0.106 96.4);
Tailwind
colors: {
  custom: {
    50: '#f9e9af',
    500: '#f4e08c',
    950: '#000000',
  },
}
SCSS
$custom: #f4e08c;
$custom-light: #f9e9af;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e08c",
  "rgb": {
    "r": 244,
    "g": 224,
    "b": 140
  },
  "hsl": {
    "h": 48.462,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90479,
    "c": 0.10648,
    "h": 96.4
  },
  "luminance": 0.74438
}

Semantic roles & 50–950 ramp

primary
#F4E08C
secondary
#536BD1
accent
#30DF07
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E08C

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

Preview Lab → · Contrast checker → · Palette generator →

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