#F9E272#F9E272

#F9E272 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 91.0% C 0.135 H 97.9°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F9E272
RGBrgb(249, 226, 114)
HSLhsl(50, 92%, 71%)
HSVhsv(50, 54%, 98%)
CMYKcmyk(0%, 9.2%, 54.2%, 2.4%)
CIE-LABlab(89.74, -5.76, 56.84)
CIE-LCHlch(89.74, 57.13, 95.79°)
OKLaboklab(90.96% -0.0185 0.1333)
OKLCHoklch(90.96% 0.135 97.9)
XYZxyz(69.3030, 75.7502, 26.8871)
Luminance0.7575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E272 #7289F9
analogous
#F99E72 #F9E272 #CCF972
triadic
#F9E272 #72F9E2 #E272F9
tetradic
#F9E272 #72F99E #7289F9 #F972CC
square
#F9E272 #72F99E #7289F9 #F972CC
split-complementary
#F9E272 #72CCF9 #9E72F9
monochromatic
#E7C10A #F7D637 #F9E272 #FBEEAD #FEF9E2

Accessibility & contrast

On white

1.30
#F9E272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#F9E272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E272
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E272#FFFFFF#000000##000000
##F9E2721.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD67
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e272;
/* rgb */ color: rgb(249, 226, 114);
/* oklch */ color: oklch(91.0% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#feea9d',
    500: '#f9e272',
    950: '#000000',
  },
}
SCSS
$custom: #f9e272;
$custom-light: #feea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e272",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 49.778,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90963,
    "c": 0.13453,
    "h": 97.9
  },
  "luminance": 0.75747
}

Semantic roles & 50–950 ramp

primary
#F9E272
secondary
#3B55D4
accent
#27E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E272

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

Preview Lab → · Contrast checker → · Palette generator →

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