#F9EA72#F9EA72

#F9EA72 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.6% C 0.142 H 102.2°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F9EA72
RGBrgb(249, 234, 114)
HSLhsl(53, 92%, 71%)
HSVhsv(53, 54%, 98%)
CMYKcmyk(0%, 6%, 54.2%, 2.4%)
CIE-LABlab(91.78, -9.75, 59.20)
CIE-LCHlch(91.78, 60.00, 99.35°)
OKLaboklab(92.57% -0.03 0.1384)
OKLCHoklch(92.57% 0.142 102.2)
XYZxyz(71.5293, 80.2028, 27.6292)
Luminance0.8020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA72 #7281F9
analogous
#F9A672 #F9EA72 #C4F972
triadic
#F9EA72 #72F9EA #EA72F9
tetradic
#F9EA72 #72F9A6 #7281F9 #F972C4
square
#F9EA72 #72F9A6 #7281F9 #F972C4
split-complementary
#F9EA72 #72C4F9 #A672F9
monochromatic
#E7CE0A #F7E137 #F9EA72 #FBF3AD #FEFBE2

Accessibility & contrast

On white

1.23
#F9EA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F9EA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA72
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA72#FFFFFF#000000##000000
##F9EA721.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE466
Deuteranopia (green-blind)
#FFEA78
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9ea72;
/* rgb */ color: rgb(249, 234, 114);
/* oklch */ color: oklch(92.6% 0.142 102.2);
Tailwind
colors: {
  custom: {
    50: '#fef09e',
    500: '#f9ea72',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea72;
$custom-light: #fef09e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea72",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 114
  },
  "hsl": {
    "h": 53.333,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92574,
    "c": 0.14157,
    "h": 102.2
  },
  "luminance": 0.802
}

Semantic roles & 50–950 ramp

primary
#F9EA72
secondary
#3B4CD4
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EA72

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

Preview Lab → · Contrast checker → · Palette generator →

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