#F9ED62#F9ED62

#F9ED62 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.158 H 104.4°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#F9ED62
RGBrgb(249, 237, 98)
HSLhsl(55, 93%, 68%)
HSVhsv(55, 61%, 98%)
CMYKcmyk(0%, 4.8%, 60.6%, 2.4%)
CIE-LABlab(92.39, -12.36, 66.86)
CIE-LCHlch(92.39, 68.00, 100.47°)
OKLaboklab(93.02% -0.0392 0.1528)
OKLCHoklch(93.02% 0.158 104.4)
XYZxyz(71.5583, 81.5925, 23.5325)
Luminance0.8159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED62 #626EF9
analogous
#F9A162 #F9ED62 #B9F962
triadic
#F9ED62 #62F9ED #ED62F9
tetradic
#F9ED62 #62F9A1 #626EF9 #F962B9
square
#F9ED62 #62F9A1 #626EF9 #F962B9
split-complementary
#F9ED62 #62B9F9 #A162F9
monochromatic
#D8C808 #F7E627 #F9ED62 #FBF49D #FEFBD8

Accessibility & contrast

On white

1.21
#F9ED62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#F9ED62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED62
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED62#FFFFFF#000000##000000
##F9ED621.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ed62;
/* rgb */ color: rgb(249, 237, 98);
/* oklch */ color: oklch(93.0% 0.158 104.4);
Tailwind
colors: {
  custom: {
    50: '#fef294',
    500: '#f9ed62',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed62;
$custom-light: #fef294;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed62",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 98
  },
  "hsl": {
    "h": 55.232,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93018,
    "c": 0.15778,
    "h": 104.4
  },
  "luminance": 0.8159
}

Semantic roles & 50–950 ramp

primary
#F9ED62
secondary
#2D3AD2
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9ED62

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

Preview Lab → · Contrast checker → · Palette generator →

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