#F4E271#F4E271

#F4E271 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.135 H 100.4°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F4E271
RGBrgb(244, 226, 113)
HSLhsl(52, 86%, 70%)
HSVhsv(52, 54%, 96%)
CMYKcmyk(0%, 7.4%, 53.7%, 4.3%)
CIE-LABlab(89.31, -7.85, 56.69)
CIE-LCHlch(89.31, 57.23, 97.89°)
OKLaboklab(90.51% -0.0244 0.1329)
OKLCHoklch(90.51% 0.135 100.4)
XYZxyz(67.4875, 74.8206, 26.5065)
Luminance0.7482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E271 #7183F4
analogous
#F4A171 #F4E271 #C4F471
triadic
#F4E271 #71F4E2 #E271F4
tetradic
#F4E271 #71F4A1 #7183F4 #F471C4
square
#F4E271 #71F4A1 #7183F4 #F471C4
split-complementary
#F4E271 #71C4F4 #A171F4
monochromatic
#DABE11 #F0D638 #F4E271 #F8EEAA #FDF9E3

Accessibility & contrast

On white

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

On black

15.96
#F4E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E271
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E271#FFFFFF#000000##000000
##F4E2711.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F9E476
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e271;
/* rgb */ color: rgb(244, 226, 113);
/* oklch */ color: oklch(90.5% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#faea9d',
    500: '#f4e271',
    950: '#000000',
  },
}
SCSS
$custom: #f4e271;
$custom-light: #faea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e271",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 51.756,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.90514,
    "c": 0.13512,
    "h": 100.4
  },
  "luminance": 0.74818
}

Semantic roles & 50–950 ramp

primary
#F4E271
secondary
#3B4FCE
accent
#22E203
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F4E271

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

Preview Lab → · Contrast checker → · Palette generator →

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