#F9EA7A#F9EA7A

#F9EA7A is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.134 H 101.8°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#F9EA7A
RGBrgb(249, 234, 122)
HSLhsl(53, 91%, 73%)
HSVhsv(53, 51%, 98%)
CMYKcmyk(0%, 6%, 51%, 2.4%)
CIE-LABlab(91.86, -9.11, 55.63)
CIE-LCHlch(91.86, 56.37, 99.30°)
OKLaboklab(92.67% -0.0273 0.1314)
OKLCHoklch(92.67% 0.134 101.8)
XYZxyz(72.0048, 80.3930, 30.1331)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA7A #7A89F9
analogous
#F9AA7A #F9EA7A #C9F97A
triadic
#F9EA7A #7AF9EA #EA7AF9
tetradic
#F9EA7A #7AF9AA #7A89F9 #F97AC9
square
#F9EA7A #7AF9AA #7A89F9 #F97AC9
split-complementary
#F9EA7A #7AC9F9 #AA7AF9
monochromatic
#EED30B #F6E13F #F9EA7A #FCF3B5 #FEFAE2

Accessibility & contrast

On white

1.23
#F9EA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#F9EA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA7A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA7A#FFFFFF#000000##000000
##F9EA7A1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE470
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9ea7a;
/* rgb */ color: rgb(249, 234, 122);
/* oklch */ color: oklch(92.7% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#fdf0a3',
    500: '#f9ea7a',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea7a;
$custom-light: #fdf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea7a",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 122
  },
  "hsl": {
    "h": 52.913,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92669,
    "c": 0.13419,
    "h": 101.8
  },
  "luminance": 0.80391
}

Semantic roles & 50–950 ramp

primary
#F9EA7A
secondary
#4253D5
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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