#F8F389#F8F389

#F8F389 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.6% C 0.128 H 106.2°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F8F389
RGBrgb(248, 243, 137)
HSLhsl(57, 89%, 75%)
HSVhsv(57, 45%, 97%)
CMYKcmyk(0%, 2%, 44.8%, 2.7%)
CIE-LABlab(94.25, -12.63, 51.45)
CIE-LCHlch(94.25, 52.98, 103.79°)
OKLaboklab(94.61% -0.0359 0.1234)
OKLCHoklch(94.61% 0.128 106.2)
XYZxyz(75.2789, 85.8657, 36.2703)
Luminance0.8586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F389 #898EF8
analogous
#F8BB89 #F8F389 #C6F889
triadic
#F8F389 #89F8F3 #F389F8
tetradic
#F8F389 #89F8BB #898EF8 #F889C6
square
#F8F389 #89F8BB #898EF8 #F889C6
split-complementary
#F8F389 #89C6F8 #BB89F8
monochromatic
#F1E715 #F5ED4F #F8F389 #FBF9C3 #FDFCE2

Accessibility & contrast

On white

1.16
#F8F389 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#F8F389 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F389
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F389#FFFFFF#000000##000000
##F8F3891.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FFF18E
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f389;
/* rgb */ color: rgb(248, 243, 137);
/* oklch */ color: oklch(94.6% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#fcf6ad',
    500: '#f8f389',
    950: '#000000',
  },
}
SCSS
$custom: #f8f389;
$custom-light: #fcf6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f389",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 137
  },
  "hsl": {
    "h": 57.297,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94608,
    "c": 0.12848,
    "h": 106.2
  },
  "luminance": 0.85864
}

Semantic roles & 50–950 ramp

primary
#F8F389
secondary
#4F55D6
accent
#0AE500
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F389

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

Preview Lab → · Contrast checker → · Palette generator →

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