#F9EA62#F9EA62

#F9EA62 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.4% C 0.155 H 103.0°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F9EA62
RGBrgb(249, 234, 98)
HSLhsl(54, 93%, 68%)
HSVhsv(54, 61%, 98%)
CMYKcmyk(0%, 6%, 60.6%, 2.4%)
CIE-LABlab(91.63, -10.88, 66.03)
CIE-LCHlch(91.63, 66.92, 99.36°)
OKLaboklab(92.41% -0.035 0.1511)
OKLCHoklch(92.41% 0.155 103)
XYZxyz(70.6970, 79.8699, 23.2454)
Luminance0.7987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA62 #6271F9
analogous
#F99F62 #F9EA62 #BCF962
triadic
#F9EA62 #62F9EA #EA62F9
tetradic
#F9EA62 #62F99F #6271F9 #F962BC
square
#F9EA62 #62F99F #6271F9 #F962BC
split-complementary
#F9EA62 #62BCF9 #9F62F9
monochromatic
#D8C408 #F7E227 #F9EA62 #FBF29D #FEFAD8

Accessibility & contrast

On white

1.24
#F9EA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#F9EA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA62
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA62#FFFFFF#000000##000000
##F9EA621.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#FFEA69
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9ea62;
/* rgb */ color: rgb(249, 234, 98);
/* oklch */ color: oklch(92.4% 0.155 103.0);
Tailwind
colors: {
  custom: {
    50: '#fef094',
    500: '#f9ea62',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea62;
$custom-light: #fef094;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea62",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 98
  },
  "hsl": {
    "h": 54.04,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92408,
    "c": 0.15506,
    "h": 103
  },
  "luminance": 0.79867
}

Semantic roles & 50–950 ramp

primary
#F9EA62
secondary
#2D3DD2
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F9EA62

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

Preview Lab → · Contrast checker → · Palette generator →

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