#F9EF7A#F9EF7A

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

Color values

HEX#F9EF7A
RGBrgb(249, 239, 122)
HSLhsl(55, 91%, 73%)
HSVhsv(55, 51%, 98%)
CMYKcmyk(0%, 4%, 51%, 2.4%)
CIE-LABlab(93.14, -11.59, 57.14)
CIE-LCHlch(93.14, 58.31, 101.46°)
OKLaboklab(93.68% -0.0344 0.1347)
OKLCHoklch(93.68% 0.139 104.3)
XYZxyz(73.4483, 83.2802, 30.6143)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF7A #7A84F9
analogous
#F9B07A #F9EF7A #C3F97A
triadic
#F9EF7A #7AF9EF #EF7AF9
tetradic
#F9EF7A #7AF9B0 #7A84F9 #F97AC3
square
#F9EF7A #7AF9B0 #7A84F9 #F97AC3
split-complementary
#F9EF7A #7AC3F9 #B07AF9
monochromatic
#EEDC0B #F6E83F #F9EF7A #FCF6B5 #FEFBE2

Accessibility & contrast

On white

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

On black

17.66
#F9EF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF7A
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF7A#FFFFFF#000000##000000
##F9EF7A1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef7a;
/* rgb */ color: rgb(249, 239, 122);
/* oklch */ color: oklch(93.7% 0.139 104.3);
Tailwind
colors: {
  custom: {
    50: '#fdf4a3',
    500: '#f9ef7a',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef7a;
$custom-light: #fdf4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef7a",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 55.276,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93682,
    "c": 0.139,
    "h": 104.3
  },
  "luminance": 0.83278
}

Semantic roles & 50–950 ramp

primary
#F9EF7A
secondary
#424DD5
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9EF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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