#F2F989#F2F989

#F2F989 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.4% C 0.136 H 111.9°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#F2F989
RGBrgb(242, 249, 137)
HSLhsl(64, 90%, 76%)
HSVhsv(64, 45%, 98%)
CMYKcmyk(2.8%, 0%, 45%, 2.4%)
CIE-LABlab(95.34, -17.87, 52.68)
CIE-LCHlch(95.34, 55.63, 108.74°)
OKLaboklab(95.36% -0.0506 0.1262)
OKLCHoklch(95.36% 0.136 111.9)
XYZxyz(75.0102, 88.4361, 36.7805)
Luminance0.8843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F989 #9089F9
analogous
#F9C889 #F2F989 #BAF989
triadic
#F2F989 #89F2F9 #F989F2
tetradic
#F2F989 #89F9C8 #9089F9 #F989BA
square
#F2F989 #89F9C8 #9089F9 #F989BA
split-complementary
#F2F989 #89BAF9 #C889F9
monochromatic
#E5F315 #ECF64F #F2F989 #F8FCC3 #FCFEE2

Accessibility & contrast

On white

1.12
#F2F989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.69
#F2F989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F989
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F989#FFFFFF#000000##000000
##F2F9891.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF080
Deuteranopia (green-blind)
#FFF38E
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f989;
/* rgb */ color: rgb(242, 249, 137);
/* oklch */ color: oklch(95.4% 0.136 111.9);
Tailwind
colors: {
  custom: {
    50: '#f8fbad',
    500: '#f2f989',
    950: '#000000',
  },
}
SCSS
$custom: #f2f989;
$custom-light: #f8fbad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f989",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 63.75,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95363,
    "c": 0.13593,
    "h": 111.9
  },
  "luminance": 0.88435
}

Semantic roles & 50–950 ramp

primary
#F2F989
secondary
#574FD7
accent
#00E60E
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F989

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

Preview Lab → · Contrast checker → · Palette generator →

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