#F9EA7F#F9EA7F

#F9EA7F is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.7% C 0.129 H 101.4°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#F9EA7F
RGBrgb(249, 234, 127)
HSLhsl(53, 91%, 74%)
HSVhsv(53, 49%, 98%)
CMYKcmyk(0%, 6%, 49%, 2.4%)
CIE-LABlab(91.92, -8.69, 53.36)
CIE-LCHlch(91.92, 54.06, 99.25°)
OKLaboklab(92.73% -0.0256 0.1268)
OKLCHoklch(92.73% 0.129 101.4)
XYZxyz(72.3226, 80.5201, 31.8068)
Luminance0.8052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA7F #7F8EF9
analogous
#F9AD7F #F9EA7F #CBF97F
triadic
#F9EA7F #7FF9EA #EA7FF9
tetradic
#F9EA7F #7FF9AD #7F8EF9 #F97FCB
square
#F9EA7F #7FF9AD #7F8EF9 #F97FCB
split-complementary
#F9EA7F #7FCBF9 #AD7FF9
monochromatic
#F2D60B #F6E045 #F9EA7F #FCF4B9 #FEFAE2

Accessibility & contrast

On white

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

On black

17.10
#F9EA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA7F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA7F#FFFFFF#000000##000000
##F9EA7F1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE476
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9ea7f;
/* rgb */ color: rgb(249, 234, 127);
/* oklch */ color: oklch(92.7% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#fdf0a6',
    500: '#f9ea7f',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea7f;
$custom-light: #fdf0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea7f",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 127
  },
  "hsl": {
    "h": 52.623,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92733,
    "c": 0.12939,
    "h": 101.4
  },
  "luminance": 0.80518
}

Semantic roles & 50–950 ramp

primary
#F9EA7F
secondary
#4658D6
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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