#F9E25A#F9E25A

#F9E25A is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.154 H 99.7°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F9E25A
RGBrgb(249, 226, 90)
HSLhsl(51, 93%, 66%)
HSVhsv(51, 64%, 98%)
CMYKcmyk(0%, 9.2%, 63.9%, 2.4%)
CIE-LABlab(89.52, -7.40, 67.09)
CIE-LCHlch(89.52, 67.50, 96.29°)
OKLaboklab(90.72% -0.0259 0.1522)
OKLCHoklch(90.72% 0.154 99.7)
XYZxyz(68.1116, 75.2736, 20.6124)
Luminance0.7527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E25A #5A71F9
analogous
#F9935A #F9E25A #C1F95A
triadic
#F9E25A #5AF9E2 #E25AF9
tetradic
#F9E25A #5AF993 #5A71F9 #F95AC1
square
#F9E25A #5AF993 #5A71F9 #F95AC1
split-complementary
#F9E25A #5AC1F9 #935AF9
monochromatic
#D1B408 #F7D81F #F9E25A #FBEC95 #FDF7D0

Accessibility & contrast

On white

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

On black

16.05
#F9E25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E25A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E25A#FFFFFF#000000##000000
##F9E25A1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC49
Deuteranopia (green-blind)
#FDE561
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e25a;
/* rgb */ color: rgb(249, 226, 90);
/* oklch */ color: oklch(90.7% 0.154 99.7);
Tailwind
colors: {
  custom: {
    50: '#ffea8e',
    500: '#f9e25a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e25a;
$custom-light: #ffea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e25a",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 90
  },
  "hsl": {
    "h": 51.321,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90715,
    "c": 0.15439,
    "h": 99.7
  },
  "luminance": 0.75271
}

Semantic roles & 50–950 ramp

primary
#F9E25A
secondary
#2B42CC
accent
#21E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E25A

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

Preview Lab → · Contrast checker → · Palette generator →

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