#F9E27C#F9E27C

#F9E27C is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.125 H 96.9°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F9E27C
RGBrgb(249, 226, 124)
HSLhsl(49, 91%, 73%)
HSVhsv(49, 50%, 98%)
CMYKcmyk(0%, 9.2%, 50.2%, 2.4%)
CIE-LABlab(89.85, -4.95, 52.29)
CIE-LCHlch(89.85, 52.53, 95.40°)
OKLaboklab(91.09% -0.0151 0.1242)
OKLCHoklch(91.09% 0.125 96.9)
XYZxyz(69.9036, 75.9905, 30.0503)
Luminance0.7599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E27C #7C93F9
analogous
#F9A37C #F9E27C #D1F97C
triadic
#F9E27C #7CF9E2 #E27CF9
tetradic
#F9E27C #7CF9A3 #7C93F9 #F97CD1
square
#F9E27C #7CF9A3 #7C93F9 #F97CD1
split-complementary
#F9E27C #7CD1F9 #A37CF9
monochromatic
#F0C60B #F6D541 #F9E27C #FCEFB7 #FEF9E2

Accessibility & contrast

On white

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

On black

16.20
#F9E27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E27C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E27C#FFFFFF#000000##000000
##F9E27C1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD73
Deuteranopia (green-blind)
#FAE580
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e27c;
/* rgb */ color: rgb(249, 226, 124);
/* oklch */ color: oklch(91.1% 0.125 96.9);
Tailwind
colors: {
  custom: {
    50: '#fdeaa4',
    500: '#f9e27c',
    950: '#000000',
  },
}
SCSS
$custom: #f9e27c;
$custom-light: #fdeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e27c",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 124
  },
  "hsl": {
    "h": 48.96,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91087,
    "c": 0.12515,
    "h": 96.9
  },
  "luminance": 0.75988
}

Semantic roles & 50–950 ramp

primary
#F9E27C
secondary
#445ED6
accent
#2AE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E27C

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

Preview Lab → · Contrast checker → · Palette generator →

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