#F9E274#F9E274

#F9E274 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 91.0% C 0.133 H 97.7°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#F9E274
RGBrgb(249, 226, 116)
HSLhsl(50, 92%, 72%)
HSVhsv(50, 53%, 98%)
CMYKcmyk(0%, 9.2%, 53.4%, 2.4%)
CIE-LABlab(89.76, -5.60, 55.94)
CIE-LCHlch(89.76, 56.22, 95.72°)
OKLaboklab(90.99% -0.0179 0.1315)
OKLCHoklch(90.99% 0.133 97.7)
XYZxyz(69.4181, 75.7962, 27.4932)
Luminance0.7579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E274 #748BF9
analogous
#F9A074 #F9E274 #CEF974
triadic
#F9E274 #74F9E2 #E274F9
tetradic
#F9E274 #74F9A0 #748BF9 #F974CE
square
#F9E274 #74F9A0 #748BF9 #F974CE
split-complementary
#F9E274 #74CEF9 #A074F9
monochromatic
#E9C20A #F6D639 #F9E274 #FCEEAF #FEF9E2

Accessibility & contrast

On white

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

On black

16.16
#F9E274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E274
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E274#FFFFFF#000000##000000
##F9E2741.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e274;
/* rgb */ color: rgb(249, 226, 116);
/* oklch */ color: oklch(91.0% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#feea9f',
    500: '#f9e274',
    950: '#000000',
  },
}
SCSS
$custom: #f9e274;
$custom-light: #feea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e274",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 116
  },
  "hsl": {
    "h": 49.624,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90987,
    "c": 0.1327,
    "h": 97.7
  },
  "luminance": 0.75793
}

Semantic roles & 50–950 ramp

primary
#F9E274
secondary
#3D57D5
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E274

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

Preview Lab → · Contrast checker → · Palette generator →

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