#F9E35A#F9E35A

#F9E35A is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.9% C 0.155 H 100.1°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#F9E35A
RGBrgb(249, 227, 90)
HSLhsl(52, 93%, 66%)
HSVhsv(52, 64%, 98%)
CMYKcmyk(0%, 8.8%, 63.9%, 2.4%)
CIE-LABlab(89.78, -7.90, 67.36)
CIE-LCHlch(89.78, 67.83, 96.69°)
OKLaboklab(90.92% -0.0273 0.1528)
OKLCHoklch(90.92% 0.155 100.1)
XYZxyz(68.3843, 75.8191, 20.7033)
Luminance0.7582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E35A #5A70F9
analogous
#F9945A #F9E35A #C0F95A
triadic
#F9E35A #5AF9E3 #E35AF9
tetradic
#F9E35A #5AF994 #5A70F9 #F95AC0
square
#F9E35A #5AF994 #5A70F9 #F95AC0
split-complementary
#F9E35A #5AC0F9 #945AF9
monochromatic
#D1B508 #F7D91F #F9E35A #FBED95 #FDF7D0

Accessibility & contrast

On white

1.30
#F9E35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#F9E35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E35A
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E35A#FFFFFF#000000##000000
##F9E35A1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD49
Deuteranopia (green-blind)
#FDE562
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e35a;
/* rgb */ color: rgb(249, 227, 90);
/* oklch */ color: oklch(90.9% 0.155 100.1);
Tailwind
colors: {
  custom: {
    50: '#ffeb8f',
    500: '#f9e35a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e35a;
$custom-light: #ffeb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e35a",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 90
  },
  "hsl": {
    "h": 51.698,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90917,
    "c": 0.15521,
    "h": 100.1
  },
  "luminance": 0.75816
}

Semantic roles & 50–950 ramp

primary
#F9E35A
secondary
#2B41CC
accent
#20E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E35A

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

Preview Lab → · Contrast checker → · Palette generator →

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