#F9EA54#F9EA54

#F9EA54 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.165 H 103.6°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#F9EA54
RGBrgb(249, 234, 84)
HSLhsl(55, 93%, 65%)
HSVhsv(55, 66%, 98%)
CMYKcmyk(0%, 6%, 66.3%, 2.4%)
CIE-LABlab(91.52, -11.71, 71.57)
CIE-LCHlch(91.52, 72.52, 99.29°)
OKLaboklab(92.29% -0.0388 0.1607)
OKLCHoklch(92.29% 0.165 103.6)
XYZxyz(70.0928, 79.6282, 20.0634)
Luminance0.7963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA54 #5463F9
analogous
#F99754 #F9EA54 #B6F954
triadic
#F9EA54 #54F9EA #EA54F9
tetradic
#F9EA54 #54F997 #5463F9 #F954B6
square
#F9EA54 #54F997 #5463F9 #F954B6
split-complementary
#F9EA54 #54B6F9 #9754F9
monochromatic
#CBBA07 #F7E319 #F9EA54 #FBF18F #FDF9CA

Accessibility & contrast

On white

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

On black

16.93
#F9EA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA54
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA54#FFFFFF#000000##000000
##F9EA541.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE23F
Deuteranopia (green-blind)
#FFEA5D
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9ea54;
/* rgb */ color: rgb(249, 234, 84);
/* oklch */ color: oklch(92.3% 0.165 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff08c',
    500: '#f9ea54',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea54;
$custom-light: #fff08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea54",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 84
  },
  "hsl": {
    "h": 54.545,
    "s": 93.22,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92286,
    "c": 0.16536,
    "h": 103.6
  },
  "luminance": 0.79625
}

Semantic roles & 50–950 ramp

primary
#F9EA54
secondary
#2A38C7
accent
#15E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F9EA54

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

Preview Lab → · Contrast checker → · Palette generator →

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