#F2F889#F2F889

#F2F889 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.135 H 111.4°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#F2F889
RGBrgb(242, 248, 137)
HSLhsl(63, 89%, 75%)
HSVhsv(63, 45%, 97%)
CMYKcmyk(2.4%, 0%, 44.8%, 2.7%)
CIE-LABlab(95.08, -17.39, 52.37)
CIE-LCHlch(95.08, 55.18, 108.37°)
OKLaboklab(95.16% -0.0492 0.1255)
OKLCHoklch(95.16% 0.135 111.4)
XYZxyz(74.7019, 87.8196, 36.6777)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F889 #8F89F8
analogous
#F8C689 #F2F889 #BAF889
triadic
#F2F889 #89F2F8 #F889F2
tetradic
#F2F889 #89F8C6 #8F89F8 #F889BA
square
#F2F889 #89F8C6 #8F89F8 #F889BA
split-complementary
#F2F889 #89BAF8 #C689F8
monochromatic
#E5F115 #ECF54F #F2F889 #F8FBC3 #FCFDE2

Accessibility & contrast

On white

1.13
#F2F889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#F2F889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F889
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F889#FFFFFF#000000##000000
##F2F8891.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF80
Deuteranopia (green-blind)
#FFF28E
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f889;
/* rgb */ color: rgb(242, 248, 137);
/* oklch */ color: oklch(95.2% 0.135 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8faad',
    500: '#f2f889',
    950: '#000000',
  },
}
SCSS
$custom: #f2f889;
$custom-light: #f8faad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f889",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 137
  },
  "hsl": {
    "h": 63.243,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95156,
    "c": 0.13477,
    "h": 111.4
  },
  "luminance": 0.87818
}

Semantic roles & 50–950 ramp

primary
#F2F889
secondary
#574FD6
accent
#00E50C
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F889

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

Preview Lab → · Contrast checker → · Palette generator →

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