#F9EC6E#F9EC6E

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

Color values

HEX#F9EC6E
RGBrgb(249, 236, 110)
HSLhsl(54, 92%, 70%)
HSVhsv(54, 56%, 98%)
CMYKcmyk(0%, 5.2%, 55.8%, 2.4%)
CIE-LABlab(92.25, -11.04, 61.53)
CIE-LCHlch(92.25, 62.51, 100.17°)
OKLaboklab(92.94% -0.0341 0.1429)
OKLCHoklch(92.94% 0.147 103.4)
XYZxyz(71.8792, 81.2589, 26.6471)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC6E #6E7BF9
analogous
#F9A66E #F9EC6E #C1F96E
triadic
#F9EC6E #6EF9EC #EC6EF9
tetradic
#F9EC6E #6EF9A6 #6E7BF9 #F96EC1
square
#F9EC6E #6EF9A6 #6E7BF9 #F96EC1
split-complementary
#F9EC6E #6EC1F9 #A66EF9
monochromatic
#E3CF09 #F7E433 #F9EC6E #FBF4A9 #FEFBE2

Accessibility & contrast

On white

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

On black

17.25
#F9EC6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC6E
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC6E#FFFFFF#000000##000000
##F9EC6E1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9ec6e;
/* rgb */ color: rgb(249, 236, 110);
/* oklch */ color: oklch(92.9% 0.147 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef19b',
    500: '#f9ec6e',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec6e;
$custom-light: #fef19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec6e",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 110
  },
  "hsl": {
    "h": 54.388,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92935,
    "c": 0.14696,
    "h": 103.4
  },
  "luminance": 0.81256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9EC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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