#F9EC6F#F9EC6F

#F9EC6F is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.9% C 0.146 H 103.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F9EC6F
RGBrgb(249, 236, 111)
HSLhsl(54, 92%, 71%)
HSVhsv(54, 55%, 98%)
CMYKcmyk(0%, 5.2%, 55.4%, 2.4%)
CIE-LABlab(92.26, -10.97, 61.10)
CIE-LCHlch(92.26, 62.08, 100.18°)
OKLaboklab(92.95% -0.0338 0.1421)
OKLCHoklch(92.95% 0.146 103.4)
XYZxyz(71.9340, 81.2808, 26.9354)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC6F #6F7CF9
analogous
#F9A76F #F9EC6F #C1F96F
triadic
#F9EC6F #6FF9EC #EC6FF9
tetradic
#F9EC6F #6FF9A7 #6F7CF9 #F96FC1
square
#F9EC6F #6FF9A7 #6F7CF9 #F96FC1
split-complementary
#F9EC6F #6FC1F9 #A76FF9
monochromatic
#E4D00A #F7E434 #F9EC6F #FBF4AA #FEFBE2

Accessibility & contrast

On white

1.22
#F9EC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F9EC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC6F
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC6F#FFFFFF#000000##000000
##F9EC6F1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE562
Deuteranopia (green-blind)
#FFEC75
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ec6f;
/* rgb */ color: rgb(249, 236, 111);
/* oklch */ color: oklch(92.9% 0.146 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef19c',
    500: '#f9ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec6f;
$custom-light: #fef19c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec6f",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 54.348,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92946,
    "c": 0.14609,
    "h": 103.4
  },
  "luminance": 0.81278
}

Semantic roles & 50–950 ramp

primary
#F9EC6F
secondary
#3847D4
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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