#F9EF7C#F9EF7C

#F9EF7C is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.7% C 0.137 H 104.3°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F9EF7C
RGBrgb(249, 239, 124)
HSLhsl(55, 91%, 73%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4%, 50.2%, 2.4%)
CIE-LABlab(93.16, -11.42, 56.25)
CIE-LCHlch(93.16, 57.40, 101.48°)
OKLaboklab(93.71% -0.0337 0.1329)
OKLCHoklch(93.71% 0.137 104.3)
XYZxyz(73.5735, 83.3303, 31.2736)
Luminance0.8333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF7C #7C86F9
analogous
#F9B07C #F9EF7C #C4F97C
triadic
#F9EF7C #7CF9EF #EF7CF9
tetradic
#F9EF7C #7CF9B0 #7C86F9 #F97CC4
square
#F9EF7C #7CF9B0 #7C86F9 #F97CC4
split-complementary
#F9EF7C #7CC4F9 #B07CF9
monochromatic
#F0DD0B #F6E841 #F9EF7C #FCF6B7 #FEFBE2

Accessibility & contrast

On white

1.19
#F9EF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#F9EF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF7C
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF7C#FFFFFF#000000##000000
##F9EF7C1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE872
Deuteranopia (green-blind)
#FFEE81
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef7c;
/* rgb */ color: rgb(249, 239, 124);
/* oklch */ color: oklch(93.7% 0.137 104.3);
Tailwind
colors: {
  custom: {
    50: '#fdf4a4',
    500: '#f9ef7c',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef7c;
$custom-light: #fdf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef7c",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 55.2,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93707,
    "c": 0.13711,
    "h": 104.3
  },
  "luminance": 0.83328
}

Semantic roles & 50–950 ramp

primary
#F9EF7C
secondary
#444FD6
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9EF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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