#F9EF6F#F9EF6F

#F9EF6F is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.6% C 0.149 H 104.8°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#F9EF6F
RGBrgb(249, 239, 111)
HSLhsl(56, 92%, 71%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 4%, 55.4%, 2.4%)
CIE-LABlab(93.02, -12.45, 61.97)
CIE-LCHlch(93.02, 63.21, 101.36°)
OKLaboklab(93.56% -0.038 0.144)
OKLCHoklch(93.56% 0.149 104.8)
XYZxyz(72.8050, 83.0228, 27.2258)
Luminance0.8302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF6F #6F79F9
analogous
#F9AA6F #F9EF6F #BEF96F
triadic
#F9EF6F #6FF9EF #EF6FF9
tetradic
#F9EF6F #6FF9AA #6F79F9 #F96FBE
square
#F9EF6F #6FF9AA #6F79F9 #F96FBE
split-complementary
#F9EF6F #6FBEF9 #AA6FF9
monochromatic
#E4D40A #F7E834 #F9EF6F #FBF6AA #FEFCE2

Accessibility & contrast

On white

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

On black

17.60
#F9EF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF6F
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF6F#FFFFFF#000000##000000
##F9EF6F1.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE762
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef6f;
/* rgb */ color: rgb(249, 239, 111);
/* oklch */ color: oklch(93.6% 0.149 104.8);
Tailwind
colors: {
  custom: {
    50: '#fef49c',
    500: '#f9ef6f',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef6f;
$custom-light: #fef49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef6f",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 111
  },
  "hsl": {
    "h": 55.652,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93557,
    "c": 0.14894,
    "h": 104.8
  },
  "luminance": 0.8302
}

Semantic roles & 50–950 ramp

primary
#F9EF6F
secondary
#3844D4
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9EF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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