#F9ED6F#F9ED6F

#F9ED6F is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.1% C 0.147 H 103.9°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F9ED6F
RGBrgb(249, 237, 111)
HSLhsl(55, 92%, 71%)
HSVhsv(55, 55%, 98%)
CMYKcmyk(0%, 4.8%, 55.4%, 2.4%)
CIE-LABlab(92.51, -11.46, 61.39)
CIE-LCHlch(92.51, 62.45, 100.58°)
OKLaboklab(93.15% -0.0352 0.1427)
OKLCHoklch(93.15% 0.147 103.9)
XYZxyz(72.2227, 81.8583, 27.0317)
Luminance0.8186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED6F #6F7BF9
analogous
#F9A86F #F9ED6F #C0F96F
triadic
#F9ED6F #6FF9ED #ED6FF9
tetradic
#F9ED6F #6FF9A8 #6F7BF9 #F96FC0
square
#F9ED6F #6FF9A8 #6F7BF9 #F96FC0
split-complementary
#F9ED6F #6FC0F9 #A86FF9
monochromatic
#E4D10A #F7E634 #F9ED6F #FBF4AA #FEFBE2

Accessibility & contrast

On white

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

On black

17.37
#F9ED6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED6F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED6F#FFFFFF#000000##000000
##F9ED6F1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE662
Deuteranopia (green-blind)
#FFEC75
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ed6f;
/* rgb */ color: rgb(249, 237, 111);
/* oklch */ color: oklch(93.1% 0.147 103.9);
Tailwind
colors: {
  custom: {
    50: '#fef29c',
    500: '#f9ed6f',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed6f;
$custom-light: #fef29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed6f",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 111
  },
  "hsl": {
    "h": 54.783,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93149,
    "c": 0.14702,
    "h": 103.9
  },
  "luminance": 0.81856
}

Semantic roles & 50–950 ramp

primary
#F9ED6F
secondary
#3846D4
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9ED6F

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

Preview Lab → · Contrast checker → · Palette generator →

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