#F9ED6A#F9ED6A

#F9ED6A is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.151 H 104.1°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#F9ED6A
RGBrgb(249, 237, 106)
HSLhsl(55, 92%, 70%)
HSVhsv(55, 57%, 98%)
CMYKcmyk(0%, 4.8%, 57.4%, 2.4%)
CIE-LABlab(92.46, -11.82, 63.53)
CIE-LCHlch(92.46, 64.62, 100.54°)
OKLaboklab(93.1% -0.0368 0.1468)
OKLCHoklch(93.1% 0.151 104.1)
XYZxyz(71.9550, 81.7512, 25.6222)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED6A #6A76F9
analogous
#F9A66A #F9ED6A #BEF96A
triadic
#F9ED6A #6AF9ED #ED6AF9
tetradic
#F9ED6A #6AF9A6 #6A76F9 #F96ABE
square
#F9ED6A #6AF9A6 #6A76F9 #F96ABE
split-complementary
#F9ED6A #6ABEF9 #A66AF9
monochromatic
#E0CE09 #F7E62F #F9ED6A #FBF4A5 #FEFBE0

Accessibility & contrast

On white

1.21
#F9ED6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#F9ED6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED6A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED6A#FFFFFF#000000##000000
##F9ED6A1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65C
Deuteranopia (green-blind)
#FFEC71
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ed6a;
/* rgb */ color: rgb(249, 237, 106);
/* oklch */ color: oklch(93.1% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#fef299',
    500: '#f9ed6a',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed6a;
$custom-light: #fef299;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed6a",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 106
  },
  "hsl": {
    "h": 54.965,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93097,
    "c": 0.1513,
    "h": 104.1
  },
  "luminance": 0.81749
}

Semantic roles & 50–950 ramp

primary
#F9ED6A
secondary
#3441D3
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9ED6A

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

Preview Lab → · Contrast checker → · Palette generator →

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