#F9E062#F9E062

#F9E062 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.147 H 98.1°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F9E062
RGBrgb(249, 224, 98)
HSLhsl(50, 93%, 68%)
HSVhsv(50, 61%, 98%)
CMYKcmyk(0%, 10%, 60.6%, 2.4%)
CIE-LABlab(89.08, -5.90, 63.24)
CIE-LCHlch(89.08, 63.52, 95.33°)
OKLaboklab(90.39% -0.0207 0.1451)
OKLCHoklch(90.39% 0.147 98.1)
XYZxyz(67.9300, 74.3359, 22.3230)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E062 #627BF9
analogous
#F99462 #F9E062 #C7F962
triadic
#F9E062 #62F9E0 #E062F9
tetradic
#F9E062 #62F994 #627BF9 #F962C7
square
#F9E062 #62F994 #627BF9 #F962C7
split-complementary
#F9E062 #62C7F9 #9462F9
monochromatic
#D8B608 #F7D427 #F9E062 #FBEC9D #FEF7D8

Accessibility & contrast

On white

1.32
#F9E062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#F9E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E062
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E062#FFFFFF#000000##000000
##F9E0621.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#FBE468
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f9e062;
/* rgb */ color: rgb(249, 224, 98);
/* oklch */ color: oklch(90.4% 0.147 98.1);
Tailwind
colors: {
  custom: {
    50: '#fee993',
    500: '#f9e062',
    950: '#000000',
  },
}
SCSS
$custom: #f9e062;
$custom-light: #fee993;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e062",
  "rgb": {
    "r": 249,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 50.066,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90388,
    "c": 0.14661,
    "h": 98.1
  },
  "luminance": 0.74333
}

Semantic roles & 50–950 ramp

primary
#F9E062
secondary
#2D48D2
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E062

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

Preview Lab → · Contrast checker → · Palette generator →

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