#F9E45A#F9E45A

#F9E45A is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.1% C 0.156 H 100.6°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#F9E45A
RGBrgb(249, 228, 90)
HSLhsl(52, 93%, 66%)
HSVhsv(52, 64%, 98%)
CMYKcmyk(0%, 8.4%, 63.9%, 2.4%)
CIE-LABlab(90.03, -8.39, 67.63)
CIE-LCHlch(90.03, 68.15, 97.08°)
OKLaboklab(91.12% -0.0288 0.1533)
OKLCHoklch(91.12% 0.156 100.6)
XYZxyz(68.6586, 76.3677, 20.7948)
Luminance0.7637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E45A #5A6FF9
analogous
#F9955A #F9E45A #BFF95A
triadic
#F9E45A #5AF9E4 #E45AF9
tetradic
#F9E45A #5AF995 #5A6FF9 #F95ABF
square
#F9E45A #5AF995 #5A6FF9 #F95ABF
split-complementary
#F9E45A #5ABFF9 #955AF9
monochromatic
#D1B608 #F7DA1F #F9E45A #FBEE95 #FDF7D0

Accessibility & contrast

On white

1.29
#F9E45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#F9E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E45A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E45A#FFFFFF#000000##000000
##F9E45A1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE49
Deuteranopia (green-blind)
#FEE662
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e45a;
/* rgb */ color: rgb(249, 228, 90);
/* oklch */ color: oklch(91.1% 0.156 100.6);
Tailwind
colors: {
  custom: {
    50: '#ffec8f',
    500: '#f9e45a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e45a;
$custom-light: #ffec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e45a",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 52.075,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91119,
    "c": 0.15602,
    "h": 100.6
  },
  "luminance": 0.76365
}

Semantic roles & 50–950 ramp

primary
#F9E45A
secondary
#2B40CC
accent
#1EE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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