#F9ED6B#F9ED6B

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

Color values

HEX#F9ED6B
RGBrgb(249, 237, 107)
HSLhsl(55, 92%, 70%)
HSVhsv(55, 57%, 98%)
CMYKcmyk(0%, 4.8%, 57%, 2.4%)
CIE-LABlab(92.47, -11.75, 63.11)
CIE-LCHlch(92.47, 64.19, 100.55°)
OKLaboklab(93.11% -0.0365 0.146)
OKLCHoklch(93.11% 0.15 104)
XYZxyz(72.0074, 81.7721, 25.8976)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED6B #6B77F9
analogous
#F9A66B #F9ED6B #BEF96B
triadic
#F9ED6B #6BF9ED #ED6BF9
tetradic
#F9ED6B #6BF9A6 #6B77F9 #F96BBE
square
#F9ED6B #6BF9A6 #6B77F9 #F96BBE
split-complementary
#F9ED6B #6BBEF9 #A66BF9
monochromatic
#E0CE09 #F7E630 #F9ED6B #FBF4A6 #FEFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9ED6B#FFFFFF#000000##000000
##F9ED6B1.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)
#FFE65D
Deuteranopia (green-blind)
#FFEC72
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ed6b;
/* rgb */ color: rgb(249, 237, 107);
/* oklch */ color: oklch(93.1% 0.150 104.0);
Tailwind
colors: {
  custom: {
    50: '#fef29a',
    500: '#f9ed6b',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed6b;
$custom-light: #fef29a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed6b",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 107
  },
  "hsl": {
    "h": 54.93,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93107,
    "c": 0.15046,
    "h": 104
  },
  "luminance": 0.8177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9ED6B

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

Preview Lab → · Contrast checker → · Palette generator →

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