#F9E277#F9E277

#F9E277 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.130 H 97.4°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F9E277
RGBrgb(249, 226, 119)
HSLhsl(49, 92%, 72%)
HSVhsv(49, 52%, 98%)
CMYKcmyk(0%, 9.2%, 52.2%, 2.4%)
CIE-LABlab(89.80, -5.36, 54.58)
CIE-LCHlch(89.80, 54.85, 95.61°)
OKLaboklab(91.02% -0.0168 0.1288)
OKLCHoklch(91.02% 0.13 97.4)
XYZxyz(69.5954, 75.8672, 28.4271)
Luminance0.7586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E277 #778EF9
analogous
#F9A177 #F9E277 #CFF977
triadic
#F9E277 #77F9E2 #E277F9
tetradic
#F9E277 #77F9A1 #778EF9 #F977CF
square
#F9E277 #77F9A1 #778EF9 #F977CF
split-complementary
#F9E277 #77CFF9 #A177F9
monochromatic
#EBC30A #F6D63C #F9E277 #FCEEB2 #FEF9E2

Accessibility & contrast

On white

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

On black

16.17
#F9E277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E277
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E277#FFFFFF#000000##000000
##F9E2771.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e277;
/* rgb */ color: rgb(249, 226, 119);
/* oklch */ color: oklch(91.0% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#feeaa1',
    500: '#f9e277',
    950: '#000000',
  },
}
SCSS
$custom: #f9e277;
$custom-light: #feeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e277",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 119
  },
  "hsl": {
    "h": 49.385,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91023,
    "c": 0.12992,
    "h": 97.4
  },
  "luminance": 0.75864
}

Semantic roles & 50–950 ramp

primary
#F9E277
secondary
#3F5AD5
accent
#29E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E277

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

Preview Lab → · Contrast checker → · Palette generator →

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