#F9E37A#F9E37A

#F9E37A is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.3% C 0.128 H 97.8°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F9E37A
RGBrgb(249, 227, 122)
HSLhsl(50, 91%, 73%)
HSVhsv(50, 51%, 98%)
CMYKcmyk(0%, 8.8%, 51%, 2.4%)
CIE-LABlab(90.08, -5.62, 53.52)
CIE-LCHlch(90.08, 53.81, 95.99°)
OKLaboklab(91.26% -0.0173 0.1268)
OKLCHoklch(91.26% 0.128 97.8)
XYZxyz(70.0511, 76.4858, 29.4819)
Luminance0.7648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E37A #7A90F9
analogous
#F9A37A #F9E37A #D0F97A
triadic
#F9E37A #7AF9E3 #E37AF9
tetradic
#F9E37A #7AF9A3 #7A90F9 #F97AD0
square
#F9E37A #7AF9A3 #7A90F9 #F97AD0
split-complementary
#F9E37A #7AD0F9 #A37AF9
monochromatic
#EEC70B #F6D73F #F9E37A #FCEFB5 #FEF9E2

Accessibility & contrast

On white

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

On black

16.30
#F9E37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E37A
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E37A#FFFFFF#000000##000000
##F9E37A1.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE71
Deuteranopia (green-blind)
#FBE67E
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e37a;
/* rgb */ color: rgb(249, 227, 122);
/* oklch */ color: oklch(91.3% 0.128 97.8);
Tailwind
colors: {
  custom: {
    50: '#feeba3',
    500: '#f9e37a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e37a;
$custom-light: #feeba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e37a",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 122
  },
  "hsl": {
    "h": 49.606,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91261,
    "c": 0.12792,
    "h": 97.8
  },
  "luminance": 0.76483
}

Semantic roles & 50–950 ramp

primary
#F9E37A
secondary
#425BD5
accent
#28E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E37A

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

Preview Lab → · Contrast checker → · Palette generator →

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