#F4E972#F4E972

#F4E972 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.9% C 0.141 H 104.0°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F4E972
RGBrgb(244, 233, 114)
HSLhsl(55, 86%, 70%)
HSVhsv(55, 53%, 96%)
CMYKcmyk(0%, 4.5%, 53.3%, 4.3%)
CIE-LABlab(91.11, -11.26, 58.33)
CIE-LCHlch(91.11, 59.40, 100.93°)
OKLaboklab(91.95% -0.034 0.1366)
OKLCHoklch(91.95% 0.141 104)
XYZxyz(69.4865, 78.7281, 27.4521)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E972 #727DF4
analogous
#F4A872 #F4E972 #BEF472
triadic
#F4E972 #72F4E9 #E972F4
tetradic
#F4E972 #72F4A8 #727DF4 #F472BE
square
#F4E972 #72F4A8 #727DF4 #F472BE
split-complementary
#F4E972 #72BEF4 #A872F4
monochromatic
#DBC911 #F0E039 #F4E972 #F8F2AB #FDFBE3

Accessibility & contrast

On white

1.25
#F4E972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F4E972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E972
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E972#FFFFFF#000000##000000
##F4E9721.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE267
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e972;
/* rgb */ color: rgb(244, 233, 114);
/* oklch */ color: oklch(91.9% 0.141 104.0);
Tailwind
colors: {
  custom: {
    50: '#faef9e',
    500: '#f4e972',
    950: '#000000',
  },
}
SCSS
$custom: #f4e972;
$custom-light: #faef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e972",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 114
  },
  "hsl": {
    "h": 54.923,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91948,
    "c": 0.14073,
    "h": 104
  },
  "luminance": 0.78726
}

Semantic roles & 50–950 ramp

primary
#F4E972
secondary
#3C48CE
accent
#16E203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F4E972

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

Preview Lab → · Contrast checker → · Palette generator →

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