#F9E893#F9E893

#F9E893 is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.6% C 0.107 H 98.3°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F9E893
RGBrgb(249, 232, 147)
HSLhsl(50, 89%, 78%)
HSVhsv(50, 41%, 98%)
CMYKcmyk(0%, 6.8%, 41%, 2.4%)
CIE-LABlab(91.67, -5.79, 43.38)
CIE-LCHlch(91.67, 43.77, 97.60°)
OKLaboklab(92.62% -0.0154 0.1058)
OKLCHoklch(92.62% 0.107 98.3)
XYZxyz(73.1916, 79.9619, 39.1768)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E893 #93A4F9
analogous
#F9B593 #F9E893 #D7F993
triadic
#F9E893 #93F9E8 #E893F9
tetradic
#F9E893 #93F9B5 #93A4F9 #F993D7
square
#F9E893 #93F9B5 #93A4F9 #F993D7
split-complementary
#F9E893 #93D7F9 #B593F9
monochromatic
#F3CF1F #F6DC59 #F9E893 #FCF4CD #FDF9E2

Accessibility & contrast

On white

1.24
#F9E893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F9E893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E893
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E893#FFFFFF#000000##000000
##F9E8931.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E38D
Deuteranopia (green-blind)
#FCEA96
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e893;
/* rgb */ color: rgb(249, 232, 147);
/* oklch */ color: oklch(92.6% 0.107 98.3);
Tailwind
colors: {
  custom: {
    50: '#fdefb4',
    500: '#f9e893',
    950: '#000000',
  },
}
SCSS
$custom: #f9e893;
$custom-light: #fdefb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e893",
  "rgb": {
    "r": 249,
    "g": 232,
    "b": 147
  },
  "hsl": {
    "h": 50,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92618,
    "c": 0.10691,
    "h": 98.3
  },
  "luminance": 0.7996
}

Semantic roles & 50–950 ramp

primary
#F9E893
secondary
#586DD9
accent
#26E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F9E893

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

Preview Lab → · Contrast checker → · Palette generator →

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