#F4E272#F4E272

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

Color values

HEX#F4E272
RGBrgb(244, 226, 114)
HSLhsl(52, 86%, 70%)
HSVhsv(52, 53%, 96%)
CMYKcmyk(0%, 7.4%, 53.3%, 4.3%)
CIE-LABlab(89.32, -7.77, 56.24)
CIE-LCHlch(89.32, 56.77, 97.87°)
OKLaboklab(90.53% -0.024 0.132)
OKLCHoklch(90.53% 0.134 100.3)
XYZxyz(67.5441, 74.8433, 26.8046)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E272 #7284F4
analogous
#F4A172 #F4E272 #C5F472
triadic
#F4E272 #72F4E2 #E272F4
tetradic
#F4E272 #72F4A1 #7284F4 #F472C5
square
#F4E272 #72F4A1 #7284F4 #F472C5
split-complementary
#F4E272 #72C5F4 #A172F4
monochromatic
#DBBF11 #F0D639 #F4E272 #F8EEAB #FDF9E3

Accessibility & contrast

On white

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

On black

15.97
#F4E272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E272
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E272#FFFFFF#000000##000000
##F4E2721.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F9E477
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e272;
/* rgb */ color: rgb(244, 226, 114);
/* oklch */ color: oklch(90.5% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#faea9d',
    500: '#f4e272',
    950: '#000000',
  },
}
SCSS
$custom: #f4e272;
$custom-light: #faea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e272",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 51.692,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90526,
    "c": 0.1342,
    "h": 100.3
  },
  "luminance": 0.74841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F4E272

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

Preview Lab → · Contrast checker → · Palette generator →

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