#F9F56E#F9F56E

#F9F56E is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.156 H 107.5°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#F9F56E
RGBrgb(249, 245, 110)
HSLhsl(58, 92%, 70%)
HSVhsv(58, 56%, 98%)
CMYKcmyk(0%, 1.6%, 55.8%, 2.4%)
CIE-LABlab(94.56, -15.45, 64.14)
CIE-LCHlch(94.56, 65.98, 103.55°)
OKLaboklab(94.77% -0.0467 0.1485)
OKLCHoklch(94.77% 0.156 107.5)
XYZxyz(74.5360, 86.5725, 27.5327)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F56E #6E72F9
analogous
#F9AF6E #F9F56E #B8F96E
triadic
#F9F56E #6EF9F5 #F56EF9
tetradic
#F9F56E #6EF9AF #6E72F9 #F96EB8
square
#F9F56E #6EF9AF #6E72F9 #F96EB8
split-complementary
#F9F56E #6EB8F9 #AF6EF9
monochromatic
#E3DD09 #F7F133 #F9F56E #FBF9A9 #FEFDE2

Accessibility & contrast

On white

1.15
#F9F56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#F9F56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F56E
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F56E#FFFFFF#000000##000000
##F9F56E1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC60
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f56e;
/* rgb */ color: rgb(249, 245, 110);
/* oklch */ color: oklch(94.8% 0.156 107.5);
Tailwind
colors: {
  custom: {
    50: '#fef89c',
    500: '#f9f56e',
    950: '#000000',
  },
}
SCSS
$custom: #f9f56e;
$custom-light: #fef89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f56e",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 58.273,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94773,
    "c": 0.1557,
    "h": 107.5
  },
  "luminance": 0.8657
}

Semantic roles & 50–950 ramp

primary
#F9F56E
secondary
#373CD4
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F56E

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

Preview Lab → · Contrast checker → · Palette generator →

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