#F4E870#F4E870

#F4E870 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.7% C 0.142 H 103.6°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F4E870
RGBrgb(244, 232, 112)
HSLhsl(55, 86%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.9%, 54.1%, 4.3%)
CIE-LABlab(90.83, -10.92, 58.91)
CIE-LCHlch(90.83, 59.91, 100.50°)
OKLaboklab(91.72% -0.0333 0.1376)
OKLCHoklch(91.72% 0.142 103.6)
XYZxyz(69.0916, 78.1185, 26.7650)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E870 #707CF4
analogous
#F4A670 #F4E870 #BEF470
triadic
#F4E870 #70F4E8 #E870F4
tetradic
#F4E870 #70F4A6 #707CF4 #F470BE
square
#F4E870 #70F4A6 #707CF4 #F470BE
split-complementary
#F4E870 #70BEF4 #A670F4
monochromatic
#D9C711 #F0DF37 #F4E870 #F8F1A9 #FDFAE2

Accessibility & contrast

On white

1.26
#F4E870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F4E870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E870
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E870#FFFFFF#000000##000000
##F4E8701.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE164
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e870;
/* rgb */ color: rgb(244, 232, 112);
/* oklch */ color: oklch(91.7% 0.142 103.6);
Tailwind
colors: {
  custom: {
    50: '#faef9c',
    500: '#f4e870',
    950: '#000000',
  },
}
SCSS
$custom: #f4e870;
$custom-light: #faef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e870",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 112
  },
  "hsl": {
    "h": 54.545,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91721,
    "c": 0.14157,
    "h": 103.6
  },
  "luminance": 0.78116
}

Semantic roles & 50–950 ramp

primary
#F4E870
secondary
#3A48CE
accent
#18E203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F4E870

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

Preview Lab → · Contrast checker → · Palette generator →

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