#F9E17A#F9E17A

#F9E17A is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.9% C 0.126 H 96.5°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F9E17A
RGBrgb(249, 225, 122)
HSLhsl(49, 91%, 73%)
HSVhsv(49, 51%, 98%)
CMYKcmyk(0%, 9.6%, 51%, 2.4%)
CIE-LABlab(89.58, -4.61, 52.91)
CIE-LCHlch(89.58, 53.11, 94.98°)
OKLaboklab(90.86% -0.0143 0.1254)
OKLCHoklch(90.86% 0.126 96.5)
XYZxyz(69.5073, 75.3981, 29.3006)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E17A #7A92F9
analogous
#F9A17A #F9E17A #D2F97A
triadic
#F9E17A #7AF9E1 #E17AF9
tetradic
#F9E17A #7AF9A1 #7A92F9 #F97AD2
square
#F9E17A #7AF9A1 #7A92F9 #F97AD2
split-complementary
#F9E17A #7AD2F9 #A17AF9
monochromatic
#EEC30B #F6D43F #F9E17A #FCEEB5 #FEF8E2

Accessibility & contrast

On white

1.31
#F9E17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F9E17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E17A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E17A#FFFFFF#000000##000000
##F9E17A1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD71
Deuteranopia (green-blind)
#F9E57E
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e17a;
/* rgb */ color: rgb(249, 225, 122);
/* oklch */ color: oklch(90.9% 0.126 96.5);
Tailwind
colors: {
  custom: {
    50: '#feeaa3',
    500: '#f9e17a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e17a;
$custom-light: #feeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e17a",
  "rgb": {
    "r": 249,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 48.661,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90861,
    "c": 0.12624,
    "h": 96.5
  },
  "luminance": 0.75395
}

Semantic roles & 50–950 ramp

primary
#F9E17A
secondary
#425ED5
accent
#2BE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E17A

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

Preview Lab → · Contrast checker → · Palette generator →

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