#F9EC77#F9EC77

#F9EC77 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.139 H 103.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F9EC77
RGBrgb(249, 236, 119)
HSLhsl(54, 92%, 72%)
HSVhsv(54, 52%, 98%)
CMYKcmyk(0%, 5.2%, 52.2%, 2.4%)
CIE-LABlab(92.34, -10.35, 57.58)
CIE-LCHlch(92.34, 58.50, 100.19°)
OKLaboklab(93.04% -0.0312 0.1353)
OKLCHoklch(93.04% 0.139 103)
XYZxyz(72.3943, 81.4650, 29.3601)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC77 #7784F9
analogous
#F9AB77 #F9EC77 #C5F977
triadic
#F9EC77 #77F9EC #EC77F9
tetradic
#F9EC77 #77F9AB #7784F9 #F977C5
square
#F9EC77 #77F9AB #7784F9 #F977C5
split-complementary
#F9EC77 #77C5F9 #AB77F9
monochromatic
#EBD50A #F6E43C #F9EC77 #FCF4B2 #FEFBE2

Accessibility & contrast

On white

1.21
#F9EC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#F9EC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC77
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC77#FFFFFF#000000##000000
##F9EC771.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56C
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ec77;
/* rgb */ color: rgb(249, 236, 119);
/* oklch */ color: oklch(93.0% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#fef1a1',
    500: '#f9ec77',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec77;
$custom-light: #fef1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec77",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 119
  },
  "hsl": {
    "h": 54,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93038,
    "c": 0.13889,
    "h": 103
  },
  "luminance": 0.81463
}

Semantic roles & 50–950 ramp

primary
#F9EC77
secondary
#3F4ED5
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EC77

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

Preview Lab → · Contrast checker → · Palette generator →

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