#F9EF6A#F9EF6A

#F9EF6A is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.153 H 105.0°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#F9EF6A
RGBrgb(249, 239, 106)
HSLhsl(56, 92%, 70%)
HSVhsv(56, 57%, 98%)
CMYKcmyk(0%, 4%, 57.4%, 2.4%)
CIE-LABlab(92.98, -12.81, 64.11)
CIE-LCHlch(92.98, 65.37, 101.30°)
OKLaboklab(93.5% -0.0396 0.148)
OKLCHoklch(93.5% 0.153 105)
XYZxyz(72.5373, 82.9158, 25.8162)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF6A #6A74F9
analogous
#F9A76A #F9EF6A #BCF96A
triadic
#F9EF6A #6AF9EF #EF6AF9
tetradic
#F9EF6A #6AF9A7 #6A74F9 #F96ABC
square
#F9EF6A #6AF9A7 #6A74F9 #F96ABC
split-complementary
#F9EF6A #6ABCF9 #A76AF9
monochromatic
#E0D109 #F7E92F #F9EF6A #FBF5A5 #FEFCE0

Accessibility & contrast

On white

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

On black

17.58
#F9EF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF6A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF6A#FFFFFF#000000##000000
##F9EF6A1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFEE71
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef6a;
/* rgb */ color: rgb(249, 239, 106);
/* oklch */ color: oklch(93.5% 0.153 105.0);
Tailwind
colors: {
  custom: {
    50: '#fef499',
    500: '#f9ef6a',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef6a;
$custom-light: #fef499;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef6a",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 106
  },
  "hsl": {
    "h": 55.804,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93504,
    "c": 0.15319,
    "h": 105
  },
  "luminance": 0.82913
}

Semantic roles & 50–950 ramp

primary
#F9EF6A
secondary
#343FD3
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9EF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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