#F9F284#F9F284

#F9F284 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.132 H 105.4°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F9F284
RGBrgb(249, 242, 132)
HSLhsl(56, 91%, 75%)
HSVhsv(56, 47%, 98%)
CMYKcmyk(0%, 2.8%, 47%, 2.4%)
CIE-LABlab(94.02, -12.20, 53.55)
CIE-LCHlch(94.02, 54.92, 102.84°)
OKLaboklab(94.42% -0.0352 0.1276)
OKLCHoklch(94.42% 0.132 105.4)
XYZxyz(74.9857, 85.3120, 34.3422)
Luminance0.8531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F284 #848BF9
analogous
#F9B784 #F9F284 #C6F984
triadic
#F9F284 #84F9F2 #F284F9
tetradic
#F9F284 #84F9B7 #848BF9 #F984C6
square
#F9F284 #84F9B7 #848BF9 #F984C6
split-complementary
#F9F284 #84C6F9 #B784F9
monochromatic
#F3E60F #F6EC4A #F9F284 #FCF8BE #FEFCE2

Accessibility & contrast

On white

1.16
#F9F284 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#F9F284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F284
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F284#FFFFFF#000000##000000
##F9F2841.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7A
Deuteranopia (green-blind)
#FFF089
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f284;
/* rgb */ color: rgb(249, 242, 132);
/* oklch */ color: oklch(94.4% 0.132 105.4);
Tailwind
colors: {
  custom: {
    50: '#fdf6aa',
    500: '#f9f284',
    950: '#000000',
  },
}
SCSS
$custom: #f9f284;
$custom-light: #fdf6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f284",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 132
  },
  "hsl": {
    "h": 56.41,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94418,
    "c": 0.13239,
    "h": 105.4
  },
  "luminance": 0.8531
}

Semantic roles & 50–950 ramp

primary
#F9F284
secondary
#4B53D7
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F284

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

Preview Lab → · Contrast checker → · Palette generator →

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