#F9ED7C#F9ED7C

#F9ED7C is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.3% C 0.135 H 103.2°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#F9ED7C
RGBrgb(249, 237, 124)
HSLhsl(54, 91%, 73%)
HSVhsv(54, 50%, 98%)
CMYKcmyk(0%, 4.8%, 50.2%, 2.4%)
CIE-LABlab(92.65, -10.43, 55.64)
CIE-LCHlch(92.65, 56.61, 100.62°)
OKLaboklab(93.3% -0.0309 0.1316)
OKLCHoklch(93.3% 0.135 103.2)
XYZxyz(72.9913, 82.1657, 31.0795)
Luminance0.8216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED7C #7C88F9
analogous
#F9AE7C #F9ED7C #C6F97C
triadic
#F9ED7C #7CF9ED #ED7CF9
tetradic
#F9ED7C #7CF9AE #7C88F9 #F97CC6
square
#F9ED7C #7CF9AE #7C88F9 #F97CC6
split-complementary
#F9ED7C #7CC6F9 #AE7CF9
monochromatic
#F0DA0B #F6E541 #F9ED7C #FCF5B7 #FEFBE2

Accessibility & contrast

On white

1.20
#F9ED7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#F9ED7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED7C
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED7C#FFFFFF#000000##000000
##F9ED7C1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE672
Deuteranopia (green-blind)
#FFED81
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f9ed7c;
/* rgb */ color: rgb(249, 237, 124);
/* oklch */ color: oklch(93.3% 0.135 103.2);
Tailwind
colors: {
  custom: {
    50: '#fdf2a4',
    500: '#f9ed7c',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed7c;
$custom-light: #fdf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed7c",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 124
  },
  "hsl": {
    "h": 54.24,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93301,
    "c": 0.13515,
    "h": 103.2
  },
  "luminance": 0.82163
}

Semantic roles & 50–950 ramp

primary
#F9ED7C
secondary
#4452D6
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9ED7C

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

Preview Lab → · Contrast checker → · Palette generator →

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