#F9EC70#F9EC70

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

Color values

HEX#F9EC70
RGBrgb(249, 236, 112)
HSLhsl(54, 92%, 71%)
HSVhsv(54, 55%, 98%)
CMYKcmyk(0%, 5.2%, 55%, 2.4%)
CIE-LABlab(92.27, -10.89, 60.66)
CIE-LCHlch(92.27, 61.63, 100.18°)
OKLaboklab(92.96% -0.0335 0.1413)
OKLCHoklch(92.96% 0.145 103.3)
XYZxyz(71.9893, 81.3030, 27.2270)
Luminance0.8130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC70 #707DF9
analogous
#F9A870 #F9EC70 #C1F970
triadic
#F9EC70 #70F9EC #EC70F9
tetradic
#F9EC70 #70F9A8 #707DF9 #F970C1
square
#F9EC70 #70F9A8 #707DF9 #F970C1
split-complementary
#F9EC70 #70C1F9 #A870F9
monochromatic
#E5D00A #F7E435 #F9EC70 #FBF4AB #FEFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9EC70#FFFFFF#000000##000000
##F9EC701.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)
#FEE564
Deuteranopia (green-blind)
#FFEC76
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ec70;
/* rgb */ color: rgb(249, 236, 112);
/* oklch */ color: oklch(93.0% 0.145 103.3);
Tailwind
colors: {
  custom: {
    50: '#fef19d',
    500: '#f9ec70',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec70;
$custom-light: #fef19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec70",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 112
  },
  "hsl": {
    "h": 54.307,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92957,
    "c": 0.1452,
    "h": 103.3
  },
  "luminance": 0.813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9EC70

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

Preview Lab → · Contrast checker → · Palette generator →

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