#F9F27F#F9F27F

#F9F27F is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.137 H 105.6°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#F9F27F
RGBrgb(249, 242, 127)
HSLhsl(57, 91%, 74%)
HSVhsv(57, 49%, 98%)
CMYKcmyk(0%, 2.8%, 49%, 2.4%)
CIE-LABlab(93.96, -12.64, 55.81)
CIE-LCHlch(93.96, 57.23, 102.76°)
OKLaboklab(94.35% -0.0369 0.1322)
OKLCHoklch(94.35% 0.137 105.6)
XYZxyz(74.6517, 85.1784, 32.5832)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F27F #7F86F9
analogous
#F9B57F #F9F27F #C3F97F
triadic
#F9F27F #7FF9F2 #F27FF9
tetradic
#F9F27F #7FF9B5 #7F86F9 #F97FC3
square
#F9F27F #7FF9B5 #7F86F9 #F97FC3
split-complementary
#F9F27F #7FC3F9 #B57FF9
monochromatic
#F2E50B #F6EC45 #F9F27F #FCF8B9 #FEFCE2

Accessibility & contrast

On white

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

On black

18.04
#F9F27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F27F
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F27F#FFFFFF#000000##000000
##F9F27F1.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB75
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f27f;
/* rgb */ color: rgb(249, 242, 127);
/* oklch */ color: oklch(94.4% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#fdf6a7',
    500: '#f9f27f',
    950: '#000000',
  },
}
SCSS
$custom: #f9f27f;
$custom-light: #fdf6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f27f",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 127
  },
  "hsl": {
    "h": 56.557,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94354,
    "c": 0.13727,
    "h": 105.6
  },
  "luminance": 0.85176
}

Semantic roles & 50–950 ramp

primary
#F9F27F
secondary
#464ED6
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F9F27F

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

Preview Lab → · Contrast checker → · Palette generator →

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