#F9EC6C#F9EC6C

#F9EC6C is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.149 H 103.5°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F9EC6C
RGBrgb(249, 236, 108)
HSLhsl(54, 92%, 70%)
HSVhsv(54, 57%, 98%)
CMYKcmyk(0%, 5.2%, 56.6%, 2.4%)
CIE-LABlab(92.23, -11.19, 62.39)
CIE-LCHlch(92.23, 63.39, 100.17°)
OKLaboklab(92.91% -0.0348 0.1446)
OKLCHoklch(92.91% 0.149 103.5)
XYZxyz(71.7715, 81.2159, 26.0801)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC6C #6C79F9
analogous
#F9A56C #F9EC6C #C0F96C
triadic
#F9EC6C #6CF9EC #EC6CF9
tetradic
#F9EC6C #6CF9A5 #6C79F9 #F96CC0
square
#F9EC6C #6CF9A5 #6C79F9 #F96CC0
split-complementary
#F9EC6C #6CC0F9 #A56CF9
monochromatic
#E1CD09 #F7E431 #F9EC6C #FBF4A7 #FEFBE2

Accessibility & contrast

On white

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

On black

17.24
#F9EC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC6C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC6C#FFFFFF#000000##000000
##F9EC6C1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9ec6c;
/* rgb */ color: rgb(249, 236, 108);
/* oklch */ color: oklch(92.9% 0.149 103.5);
Tailwind
colors: {
  custom: {
    50: '#fef19a',
    500: '#f9ec6c',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec6c;
$custom-light: #fef19a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec6c",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 54.468,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.92914,
    "c": 0.14868,
    "h": 103.5
  },
  "luminance": 0.81213
}

Semantic roles & 50–950 ramp

primary
#F9EC6C
secondary
#3644D4
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9EC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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