#F8E189#F8E189

#F8E189 is a very light, moderate yellow. Relative luminance 0.756; OKLCH L 91.0% C 0.111 H 95.2°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F8E189
RGBrgb(248, 225, 137)
HSLhsl(48, 89%, 75%)
HSVhsv(48, 45%, 97%)
CMYKcmyk(0%, 9.3%, 44.8%, 2.7%)
CIE-LABlab(89.68, -3.66, 45.78)
CIE-LCHlch(89.68, 45.92, 94.57°)
OKLaboklab(90.98% -0.01 0.1107)
OKLCHoklch(90.98% 0.111 95.2)
XYZxyz(70.1539, 75.6156, 34.5620)
Luminance0.7561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E189 #89A0F8
analogous
#F8AA89 #F8E189 #D7F889
triadic
#F8E189 #89F8E1 #E189F8
tetradic
#F8E189 #89F8AA #89A0F8 #F889D7
square
#F8E189 #89F8AA #89A0F8 #F889D7
split-complementary
#F8E189 #89D7F8 #AA89F8
monochromatic
#F1C415 #F5D24F #F8E189 #FBF0C3 #FDF8E2

Accessibility & contrast

On white

1.30
#F8E189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#F8E189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E189
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E189#FFFFFF#000000##000000
##F8E1891.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD82
Deuteranopia (green-blind)
#F8E58C
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e189;
/* rgb */ color: rgb(248, 225, 137);
/* oklch */ color: oklch(91.0% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#fceaad',
    500: '#f8e189',
    950: '#000000',
  },
}
SCSS
$custom: #f8e189;
$custom-light: #fceaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e189",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 137
  },
  "hsl": {
    "h": 47.568,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90982,
    "c": 0.11113,
    "h": 95.2
  },
  "luminance": 0.75613
}

Semantic roles & 50–950 ramp

primary
#F8E189
secondary
#4F6BD6
accent
#30E500
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E189

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

Preview Lab → · Contrast checker → · Palette generator →

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