#F9EF6C#F9EF6C

#F9EF6C is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.5% C 0.152 H 104.9°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#F9EF6C
RGBrgb(249, 239, 108)
HSLhsl(56, 92%, 70%)
HSVhsv(56, 57%, 98%)
CMYKcmyk(0%, 4%, 56.6%, 2.4%)
CIE-LABlab(93.00, -12.67, 63.26)
CIE-LCHlch(93.00, 64.51, 101.32°)
OKLaboklab(93.53% -0.039 0.1464)
OKLCHoklch(93.53% 0.152 104.9)
XYZxyz(72.6425, 82.9579, 26.3704)
Luminance0.8296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF6C #6C76F9
analogous
#F9A96C #F9EF6C #BCF96C
triadic
#F9EF6C #6CF9EF #EF6CF9
tetradic
#F9EF6C #6CF9A9 #6C76F9 #F96CBC
square
#F9EF6C #6CF9A9 #6C76F9 #F96CBC
split-complementary
#F9EF6C #6CBCF9 #A96CF9
monochromatic
#E1D209 #F7E931 #F9EF6C #FBF5A7 #FEFCE2

Accessibility & contrast

On white

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

On black

17.59
#F9EF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF6C
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF6C#FFFFFF#000000##000000
##F9EF6C1.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9ef6c;
/* rgb */ color: rgb(249, 239, 108);
/* oklch */ color: oklch(93.5% 0.152 104.9);
Tailwind
colors: {
  custom: {
    50: '#fef49a',
    500: '#f9ef6c',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef6c;
$custom-light: #fef49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef6c",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 108
  },
  "hsl": {
    "h": 55.745,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.93525,
    "c": 0.15151,
    "h": 104.9
  },
  "luminance": 0.82955
}

Semantic roles & 50–950 ramp

primary
#F9EF6C
secondary
#3641D4
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9EF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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