#F9EA5A#F9EA5A

#F9EA5A is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.161 H 103.4°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F9EA5A
RGBrgb(249, 234, 90)
HSLhsl(54, 93%, 66%)
HSVhsv(54, 64%, 98%)
CMYKcmyk(0%, 6%, 63.9%, 2.4%)
CIE-LABlab(91.56, -11.37, 69.25)
CIE-LCHlch(91.56, 70.18, 99.32°)
OKLaboklab(92.34% -0.0372 0.1568)
OKLCHoklch(92.34% 0.161 103.4)
XYZxyz(70.3379, 79.7263, 21.3545)
Luminance0.7972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA5A #5A69F9
analogous
#F99B5A #F9EA5A #B8F95A
triadic
#F9EA5A #5AF9EA #EA5AF9
tetradic
#F9EA5A #5AF99B #5A69F9 #F95AB8
square
#F9EA5A #5AF99B #5A69F9 #F95AB8
split-complementary
#F9EA5A #5AB8F9 #9B5AF9
monochromatic
#D1BE08 #F7E21F #F9EA5A #FBF295 #FDF9D0

Accessibility & contrast

On white

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

On black

16.94
#F9EA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA5A
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA5A#FFFFFF#000000##000000
##F9EA5A1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE348
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9ea5a;
/* rgb */ color: rgb(249, 234, 90);
/* oklch */ color: oklch(92.3% 0.161 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff08f',
    500: '#f9ea5a',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea5a;
$custom-light: #fff08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea5a",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 90
  },
  "hsl": {
    "h": 54.34,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92336,
    "c": 0.16113,
    "h": 103.4
  },
  "luminance": 0.79724
}

Semantic roles & 50–950 ramp

primary
#F9EA5A
secondary
#2B3ACC
accent
#16E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F9EA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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