#F9E85A#F9E85A

#F9E85A is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.159 H 102.5°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F9E85A
RGBrgb(249, 232, 90)
HSLhsl(54, 93%, 66%)
HSVhsv(54, 64%, 98%)
CMYKcmyk(0%, 6.8%, 63.9%, 2.4%)
CIE-LABlab(91.05, -10.38, 68.71)
CIE-LCHlch(91.05, 69.49, 98.59°)
OKLaboklab(91.93% -0.0344 0.1556)
OKLCHoklch(91.93% 0.159 102.5)
XYZxyz(69.7718, 78.5939, 21.1658)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E85A #5A6BF9
analogous
#F9995A #F9E85A #BBF95A
triadic
#F9E85A #5AF9E8 #E85AF9
tetradic
#F9E85A #5AF999 #5A6BF9 #F95ABB
square
#F9E85A #5AF999 #5A6BF9 #F95ABB
split-complementary
#F9E85A #5ABBF9 #995AF9
monochromatic
#D1BB08 #F7E01F #F9E85A #FBF095 #FDF8D0

Accessibility & contrast

On white

1.26
#F9E85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#F9E85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E85A
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E85A#FFFFFF#000000##000000
##F9E85A1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE148
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e85a;
/* rgb */ color: rgb(249, 232, 90);
/* oklch */ color: oklch(91.9% 0.159 102.5);
Tailwind
colors: {
  custom: {
    50: '#ffef8f',
    500: '#f9e85a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e85a;
$custom-light: #ffef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e85a",
  "rgb": {
    "r": 249,
    "g": 232,
    "b": 90
  },
  "hsl": {
    "h": 53.585,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91929,
    "c": 0.15939,
    "h": 102.5
  },
  "luminance": 0.78591
}

Semantic roles & 50–950 ramp

primary
#F9E85A
secondary
#2B3CCC
accent
#19E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F9E85A

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

Preview Lab → · Contrast checker → · Palette generator →

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