#F4EF72#F4EF72

#F4EF72 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.2% C 0.147 H 106.8°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#F4EF72
RGBrgb(244, 239, 114)
HSLhsl(58, 86%, 70%)
HSVhsv(58, 53%, 96%)
CMYKcmyk(0%, 2%, 53.3%, 4.3%)
CIE-LABlab(92.66, -14.21, 60.11)
CIE-LCHlch(92.66, 61.77, 103.30°)
OKLaboklab(93.18% -0.0425 0.1404)
OKLCHoklch(93.18% 0.147 106.8)
XYZxyz(71.2140, 82.1831, 28.0279)
Luminance0.8218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EF72 #7277F4
analogous
#F4AE72 #F4EF72 #B8F472
triadic
#F4EF72 #72F4EF #EF72F4
tetradic
#F4EF72 #72F4AE #7277F4 #F472B8
square
#F4EF72 #72F4AE #7277F4 #F472B8
split-complementary
#F4EF72 #72B8F4 #AE72F4
monochromatic
#DBD311 #F0E939 #F4EF72 #F8F5AB #FDFCE3

Accessibility & contrast

On white

1.20
#F4EF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#F4EF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EF72
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EF72#FFFFFF#000000##000000
##F4EF721.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f4ef72;
/* rgb */ color: rgb(244, 239, 114);
/* oklch */ color: oklch(93.2% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#faf49e',
    500: '#f4ef72',
    950: '#000000',
  },
}
SCSS
$custom: #f4ef72;
$custom-light: #faf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ef72",
  "rgb": {
    "r": 244,
    "g": 239,
    "b": 114
  },
  "hsl": {
    "h": 57.692,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93176,
    "c": 0.1467,
    "h": 106.8
  },
  "luminance": 0.82181
}

Semantic roles & 50–950 ramp

primary
#F4EF72
secondary
#3C42CE
accent
#0CE203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4EF72

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

Preview Lab → · Contrast checker → · Palette generator →

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