#F9E875#F9E875

#F9E875 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.137 H 101.0°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F9E875
RGBrgb(249, 232, 117)
HSLhsl(52, 92%, 72%)
HSVhsv(52, 53%, 98%)
CMYKcmyk(0%, 6.8%, 53%, 2.4%)
CIE-LABlab(91.30, -8.53, 57.28)
CIE-LCHlch(91.30, 57.91, 98.47°)
OKLaboklab(92.21% -0.0262 0.1345)
OKLCHoklch(92.21% 0.137 101)
XYZxyz(71.1367, 79.1399, 28.3545)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E875 #7586F9
analogous
#F9A675 #F9E875 #C8F975
triadic
#F9E875 #75F9E8 #E875F9
tetradic
#F9E875 #75F9A6 #7586F9 #F975C8
square
#F9E875 #75F9A6 #7586F9 #F975C8
split-complementary
#F9E875 #75C8F9 #A675F9
monochromatic
#E9CD0A #F6DE3A #F9E875 #FCF2B0 #FEFAE2

Accessibility & contrast

On white

1.25
#F9E875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#F9E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E875
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E875#FFFFFF#000000##000000
##F9E8751.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e875;
/* rgb */ color: rgb(249, 232, 117);
/* oklch */ color: oklch(92.2% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#feefa0',
    500: '#f9e875',
    950: '#000000',
  },
}
SCSS
$custom: #f9e875;
$custom-light: #feefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e875",
  "rgb": {
    "r": 249,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 52.273,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92205,
    "c": 0.13701,
    "h": 101
  },
  "luminance": 0.79137
}

Semantic roles & 50–950 ramp

primary
#F9E875
secondary
#3D51D5
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E875

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

Preview Lab → · Contrast checker → · Palette generator →

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