#F9F274#F9F274

#F9F274 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.147 H 106.0°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F9F274
RGBrgb(249, 242, 116)
HSLhsl(57, 92%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.8%, 53.4%, 2.4%)
CIE-LABlab(93.84, -13.54, 60.69)
CIE-LCHlch(93.84, 62.18, 102.58°)
OKLaboklab(94.22% -0.0406 0.1418)
OKLCHoklch(94.22% 0.147 106)
XYZxyz(73.9736, 84.9072, 29.0117)
Luminance0.8490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F274 #747BF9
analogous
#F9B074 #F9F274 #BEF974
triadic
#F9F274 #74F9F2 #F274F9
tetradic
#F9F274 #74F9B0 #747BF9 #F974BE
square
#F9F274 #74F9B0 #747BF9 #F974BE
split-complementary
#F9F274 #74BEF9 #B074F9
monochromatic
#E9DD0A #F6ED39 #F9F274 #FCF7AF #FEFCE2

Accessibility & contrast

On white

1.17
#F9F274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#F9F274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F274
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F274#FFFFFF#000000##000000
##F9F2741.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA68
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f274;
/* rgb */ color: rgb(249, 242, 116);
/* oklch */ color: oklch(94.2% 0.147 106.0);
Tailwind
colors: {
  custom: {
    50: '#fef69f',
    500: '#f9f274',
    950: '#000000',
  },
}
SCSS
$custom: #f9f274;
$custom-light: #fef69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f274",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 56.842,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94224,
    "c": 0.14748,
    "h": 106
  },
  "luminance": 0.84905
}

Semantic roles & 50–950 ramp

primary
#F9F274
secondary
#3D45D5
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F274

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

Preview Lab → · Contrast checker → · Palette generator →

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